Skip to content

Commit

Permalink
fix: Country field reverts to the previous selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Jul 8, 2024
1 parent e0ccba5 commit 91df51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/StateSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}}
Expand Down

0 comments on commit 91df51c

Please sign in to comment.