ProfileMenuButton: fix open settings in new page
This commit is contained in:
parent
9dfcfa3868
commit
ab37a280e7
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ const ProfileMenuButton: ParentComponent<{
|
|||
props.onClick?.();
|
||||
};
|
||||
|
||||
const inf = () => props.profile?.account.inf
|
||||
const inf = () => props.profile?.account.inf;
|
||||
|
||||
const onClose = () => {
|
||||
props.onClick?.();
|
||||
|
@ -130,7 +130,7 @@ const ProfileMenuButton: ParentComponent<{
|
|||
{props.children}
|
||||
<Divider />
|
||||
</Show>
|
||||
<MenuItem component={A} href="/settings" onClick={onClose}>
|
||||
<MenuItem component={A} href="/settings">
|
||||
<ListItemIcon>
|
||||
<SettingsIcon />
|
||||
</ListItemIcon>
|
||||
|
|
Loading…
Reference in a new issue