Skip to content

Commit

Permalink
Merge pull request #45394 from software-mansion-labs/@zfurtak/fix-add…
Browse files Browse the repository at this point in the history
…ress-page

fix(AddressPage): country reverts to previous one after selecting state
  • Loading branch information
mountiny authored Jul 19, 2024
2 parents c6cb5fc + ca0af97 commit 0f48485
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libs/Navigation/Navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ function getActiveRoute(): string {
return '';
}

if (currentRoute?.path) {
return currentRoute.path;
}

const routeFromState = getPathFromState(navigationRef.getRootState(), linkingConfig.config);

if (routeFromState) {
Expand Down

0 comments on commit 0f48485

Please sign in to comment.