From 78dd3599f63cb91c34853c28ee6388f526a37d93 Mon Sep 17 00:00:00 2001 From: Vit Horacek <36083550+mountiny@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:33:43 +0100 Subject: [PATCH] Merge pull request #44981 from nkdengineer/fix/44957 (cherry picked from commit 4a3ecb348a49f490ad3c3f466bed716dbc4803ef) --- src/components/StateSelector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/StateSelector.tsx b/src/components/StateSelector.tsx index 4da8c33c2dc8..9091472efba5 100644 --- a/src/components/StateSelector.tsx +++ b/src/components/StateSelector.tsx @@ -89,7 +89,7 @@ function StateSelector( brickRoadIndicator={errorText ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined} errorText={errorText} onPress={() => { - const activeRoute = Navigation.getActiveRoute(); + const activeRoute = Navigation.getActiveRouteWithoutParams(); didOpenStateSelector.current = true; Navigation.navigate(stateSelectorRoute.getRoute(stateCode, activeRoute, label)); }}