From e7475f9030307bb9fcd0d0bea12cc10529a5b42d Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 12 Dec 2023 16:22:52 -0700 Subject: [PATCH] use openPersonalBankAccountSetupView --- src/components/KYCWall/BaseKYCWall.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/KYCWall/BaseKYCWall.js b/src/components/KYCWall/BaseKYCWall.js index e229a860dd9f..fa5ddf578626 100644 --- a/src/components/KYCWall/BaseKYCWall.js +++ b/src/components/KYCWall/BaseKYCWall.js @@ -12,6 +12,7 @@ import * as ReportUtils from '@libs/ReportUtils'; import * as PaymentMethods from '@userActions/PaymentMethods'; import * as Policy from '@userActions/Policy'; import * as Wallet from '@userActions/Wallet'; +import * as BankAccounts from '@libs/actions/BankAccounts'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; @@ -118,7 +119,7 @@ function KYCWall({ const selectPaymentMethod = (paymentMethod) => { onSelectPaymentMethod(paymentMethod); if (paymentMethod === CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT) { - Navigation.navigate(addBankAccountRoute); + BankAccounts.openPersonalBankAccountSetupView(); } else if (paymentMethod === CONST.PAYMENT_METHODS.DEBIT_CARD) { Navigation.navigate(addDebitCardRoute); } else if (paymentMethod === CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT) {