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?.();
|
props.onClick?.();
|
||||||
};
|
};
|
||||||
|
|
||||||
const inf = () => props.profile?.account.inf
|
const inf = () => props.profile?.account.inf;
|
||||||
|
|
||||||
const onClose = () => {
|
const onClose = () => {
|
||||||
props.onClick?.();
|
props.onClick?.();
|
||||||
|
@ -130,7 +130,7 @@ const ProfileMenuButton: ParentComponent<{
|
||||||
{props.children}
|
{props.children}
|
||||||
<Divider />
|
<Divider />
|
||||||
</Show>
|
</Show>
|
||||||
<MenuItem component={A} href="/settings" onClick={onClose}>
|
<MenuItem component={A} href="/settings">
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<SettingsIcon />
|
<SettingsIcon />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
|
|
Loading…
Reference in a new issue