StackedRouter: new router simulates app behaviour #45

Merged
Rubicon merged 18 commits from stacky into master 2024-11-18 10:35:30 +00:00
Showing only changes of commit ab37a280e7 - Show all commits

View file

@ -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>