Skip to content

Commit

Permalink
calling goBack() only when upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinoz committed Sep 12, 2024
1 parent 9240b03 commit 9cf865b
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 9cf865b

Please sign in to comment.