Skip to content

Commit

Permalink
navigate user to BBA flow
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Nov 23, 2023
1 parent 7a68a3d commit 98d2c49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/settings/Wallet/WalletPage/WalletPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ function WalletPage({bankAccountList, betas, cardList, fundList, isLoadingPaymen
return;
}

if (paymentType === CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT) {
Navigation.navigate(ROUTES.SETTINGS_ADD_BANK_ACCOUNT);
return;
}

throw new Error('Invalid payment method type selected');
};

Expand Down

0 comments on commit 98d2c49

Please sign in to comment.