🔖 chore: restore console button
This commit is contained in:
parent
c1fc32add7
commit
1655200376
@ -79,7 +79,12 @@ const Header = () => {
|
||||
</Button>
|
||||
<ThemeButton />
|
||||
{account.user ? (
|
||||
<ProfileSection />
|
||||
<>
|
||||
<Button component={Link} variant="contained" to="/panel" color="primary">
|
||||
控制台
|
||||
</Button>
|
||||
<ProfileSection />
|
||||
</>
|
||||
) : (
|
||||
<Button component={Link} variant="contained" to="/login" color="primary">
|
||||
登录
|
||||
|
Loading…
Reference in New Issue
Block a user