StackedRouter: new router simulates app behaviour #45
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