🔖 chore: restore console button

This commit is contained in:
MartialBE
2024-04-05 04:12:52 +08:00
parent c1fc32add7
commit 1655200376

View File

@@ -79,7 +79,12 @@ const Header = () => {
</Button>
<ThemeButton />
{account.user ? (
<>
<Button component={Link} variant="contained" to="/panel" color="primary">
控制台
</Button>
<ProfileSection />
</>
) : (
<Button component={Link} variant="contained" to="/login" color="primary">
登录