From 0eb0d0dd3880d3a5324a02061c7adcc1403aec18 Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Mon, 29 Jan 2024 18:54:07 +0100 Subject: [PATCH] Fix types in linkTo --- src/libs/Navigation/linkTo.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/Navigation/linkTo.ts b/src/libs/Navigation/linkTo.ts index 1a816f4a09a0..031acdf282ba 100644 --- a/src/libs/Navigation/linkTo.ts +++ b/src/libs/Navigation/linkTo.ts @@ -167,7 +167,8 @@ export default function linkTo(navigation: NavigationContainerRef)?.policyID !== (matchingBottomTabRoute?.params as Record)?.policyID; if (topmostBottomTabRoute && (topmostBottomTabRoute.name !== matchingBottomTabRoute.name || isNewPolicyID)) { root.dispatch({ type: CONST.NAVIGATION.ACTION_TYPE.PUSH,