From 4ccbae7c30307bd19a9bd4afa9f2039aed9da94c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 15 Jul 2025 07:48:24 +0300 Subject: Fix perf issue on web - restore pop behaviour to tabs (#8620) --- src/components/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/Link.tsx') 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.') } -- cgit 1.4.1