Fix perf issue on web - restore pop behaviour to tabs (#8620)

This commit is contained in:
Samuel Newman
2025-07-15 07:48:24 +03:00
committed by GitHub
parent 1f82b1d557
commit 4ccbae7c30
5 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -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.')
}
@@ -156,7 +156,6 @@ export function Link({
return (
<BaseLink
action="push"
to={`/starter-pack/${handleOrDid}/${rkey}`}
label={_(msg`Navigate to ${record.name}`)}
onPress={() => {