Skip to content

Commit

Permalink
Merge pull request #49076 from Expensify/rodrigo-fix-upgrade-navigation
Browse files Browse the repository at this point in the history
Fix dismiss upgrade RHP navigation
  • Loading branch information
rlinoz authored Sep 12, 2024
2 parents 37161bc + 9cf865b commit 65a21fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ function WorkspaceUpgradePage({route}: WorkspaceUpgradePageProps) {
onBackButtonPress={() => {
if (isUpgraded) {
Navigation.dismissModal();
goBack();
} else {
Navigation.goBack();
}
goBack();
}}
/>
{isUpgraded && (
Expand Down

0 comments on commit 65a21fc

Please sign in to comment.