diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-07-15 07:48:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 07:48:24 +0300 |
commit | 4ccbae7c30307bd19a9bd4afa9f2039aed9da94c (patch) | |
tree | d6fd20b75c8d41a222b0f513bb5c9fee49f1d6ca /src/components/Link.tsx | |
parent | 1f82b1d5572c3944cf1f987e9090f8f626d67fcd (diff) | |
download | voidsky-4ccbae7c30307bd19a9bd4afa9f2039aed9da94c.tar.zst |
Fix perf issue on web - restore pop behaviour to tabs (#8620)
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r-- | src/components/Link.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx index 127b2edfb..6954be6a8 100644 --- a/src/components/Link.tsx +++ b/src/components/Link.tsx @@ -192,7 +192,7 @@ export function useLink({ navigation.dispatch(StackActions.replace(screen, params)) } else if (action === 'navigate') { // @ts-expect-error not typed - navigation.navigate(screen, params) + navigation.navigate(screen, params, {pop: true}) } else { throw Error('Unsupported navigator action.') } |