Fix perf issue on web - restore pop behaviour to tabs (#8620)
This commit is contained in:
@@ -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.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user