Skip to content

Commit

Permalink
Merge pull request #23086 from adamgrzybowski/@swm/fix-add-paypal-me-…
Browse files Browse the repository at this point in the history
…page-navigation

[navigation-refactor] Change navigate to goBack after saving on paypal me page
  • Loading branch information
bondydaa authored Jul 18, 2023
2 parents c1fa0a6 + a2b1b79 commit a75e329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Payments/AddPayPalMePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function AddPayPalMePage(props) {
User.addPaypalMeAddress(payPalMeUsername);

Growl.show(growlMessageOnSave, CONST.GROWL.SUCCESS, 3000);
Navigation.navigate(ROUTES.SETTINGS_PAYMENTS);
Navigation.goBack(ROUTES.SETTINGS_PAYMENTS);
}, [payPalMeUsername, growlMessageOnSave]);

return (
Expand Down

0 comments on commit a75e329

Please sign in to comment.