Skip to content

Commit 91df51c

Browse files
committed
fix: Country field reverts to the previous selection
1 parent e0ccba5 commit 91df51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/StateSelector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function StateSelector(
8989
brickRoadIndicator={errorText ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined}
9090
errorText={errorText}
9191
onPress={() => {
92-
const activeRoute = Navigation.getActiveRoute();
92+
const activeRoute = Navigation.getActiveRouteWithoutParams();
9393
didOpenStateSelector.current = true;
9494
Navigation.navigate(stateSelectorRoute.getRoute(stateCode, activeRoute, label));
9595
}}

0 commit comments

Comments
 (0)