From 82afdf2745fa19413b278ad7e03a807b0ac7ae16 Mon Sep 17 00:00:00 2001 From: Adam Grzybowski Date: Fri, 27 Jun 2025 15:26:56 +0200 Subject: [PATCH] add pop param to ignored params for goBack compare function --- src/libs/Navigation/Navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Navigation/Navigation.ts b/src/libs/Navigation/Navigation.ts index a942f359b055..9d692ebb1918 100644 --- a/src/libs/Navigation/Navigation.ts +++ b/src/libs/Navigation/Navigation.ts @@ -205,7 +205,7 @@ function navigate(route: Route, options?: LinkToOptions) { * When routes are compared to determine whether the fallback route passed to the goUp function is in the state, * these parameters shouldn't be included in the comparison. */ -const routeParamsIgnore = ['path', 'initial', 'params', 'state', 'screen', 'policyID']; +const routeParamsIgnore = ['path', 'initial', 'params', 'state', 'screen', 'policyID', 'pop']; /** * @private