diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-07-15 15:53:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 15:53:52 +0300 |
commit | 60c0689236cf40ea0411185aec16f916ebf40085 (patch) | |
tree | 3c3e8862845401c6e0de2a0bddb428eba0614c35 /src/view/shell/desktop | |
parent | 4ccbae7c30307bd19a9bd4afa9f2039aed9da94c (diff) | |
download | voidsky-60c0689236cf40ea0411185aec16f916ebf40085.tar.zst |
Fix navigation (#8648)
Diffstat (limited to 'src/view/shell/desktop')
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index ee2b1778b..aa18f9b70 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -350,7 +350,7 @@ function NavItem({count, hasNew, href, icon, iconFilled, label}: NavItemProps) { } else { const [screen, params] = router.matchPath(href) // @ts-expect-error TODO: type matchPath well enough that it can be plugged into navigation.navigate directly - navigation.popTo(screen, params) + navigation.navigate(screen, params, {pop: true}) } }, [navigation, href, isCurrent], |