Skip to content

Commit

Permalink
Merge pull request #31804 from Expensify/cmartins-fixCrashOnWalletPage
Browse files Browse the repository at this point in the history
[CP Stag] Navigate user to BBA flow
  • Loading branch information
Hayata Suenaga authored Nov 23, 2023
2 parents 36105a3 + 1163dc3 commit f6ea6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/WalletPage/WalletPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function WalletPage({bankAccountList, betas, cardList, fundList, isLoadingPaymen
return;
}

if (paymentType === CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT) {
if (paymentType === CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT || paymentType === CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT) {
BankAccounts.openPersonalBankAccountSetupView();
return;
}
Expand Down

0 comments on commit f6ea6f3

Please sign in to comment.