Skip to content

Commit

Permalink
Merge pull request #45717 from Expensify/chirag-better-redirect
Browse files Browse the repository at this point in the history
Updating to a better redirect
  • Loading branch information
luacmartins authored Jul 18, 2024
2 parents 045d738 + 6ba1dc6 commit 68c3b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function WorkspaceOwnerRestrictedAction() {

const addPaymentCard = () => {
Navigation.closeRHPFlow();
Navigation.navigate(ROUTES.SETTINGS_SUBSCRIPTION);
Navigation.navigate(ROUTES.SETTINGS_SUBSCRIPTION_ADD_PAYMENT_CARD);
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ function ReportActionItem({
text: 'subscription.cardSection.addCardButton',
key: `${action.reportActionID}-actionableAddPaymentCard-submit`,
onPress: () => {
Navigation.navigate(ROUTES.SETTINGS_SUBSCRIPTION);
Navigation.navigate(ROUTES.SETTINGS_SUBSCRIPTION_ADD_PAYMENT_CARD);
},
isMediumSized: true,
isPrimary: true,
Expand Down

0 comments on commit 68c3b7f

Please sign in to comment.