From 5c8adc105e8c9ee8225be1dabedfb86e0c739665 Mon Sep 17 00:00:00 2001 From: Maria D'Costa Date: Tue, 24 Jan 2023 14:48:06 +0400 Subject: [PATCH] Merge pull request #14508 from Expensify/nat-missingimport Fix missing import preventing opening Plaid modal (cherry picked from commit 553916c715ce2f0bf5c549333212702f2539f5e0) --- src/libs/actions/BankAccounts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/BankAccounts.js b/src/libs/actions/BankAccounts.js index b6aea981e5f6..6bc5e6d608d4 100644 --- a/src/libs/actions/BankAccounts.js +++ b/src/libs/actions/BankAccounts.js @@ -7,6 +7,7 @@ import DateUtils from '../DateUtils'; import * as PlaidDataProps from '../../pages/ReimbursementAccount/plaidDataPropTypes'; import Navigation from '../Navigation/Navigation'; import ROUTES from '../../ROUTES'; +import * as ReimbursementAccount from './ReimbursementAccount'; export { goToWithdrawalAccountSetupStep, @@ -38,7 +39,7 @@ function clearPlaid() { } function openPlaidView() { - clearPlaid().then(() => this.setBankAccountSubStep(CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID)); + clearPlaid().then(() => ReimbursementAccount.setBankAccountSubStep(CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID)); } function openPersonalBankAccountSetupView() {