Skip to content

Commit

Permalink
Merge pull request #45121 from Expensify/revert-44981-fix/44957
Browse files Browse the repository at this point in the history
[CP Staging] Revert "fix: Country field reverts to the previous selection"

(cherry picked from commit f3ef92e)
  • Loading branch information
mountiny authored and OSBotify committed Jul 9, 2024
1 parent 392f6be commit 4c432d5
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.getActiveRouteWithoutParams();
const activeRoute = Navigation.getActiveRoute();
didOpenStateSelector.current = true;
Navigation.navigate(stateSelectorRoute.getRoute(stateCode, activeRoute, label));
}}
Expand Down

0 comments on commit 4c432d5

Please sign in to comment.