From 82b52f1f60db49b9082b803baa55e42a446d215c Mon Sep 17 00:00:00 2001 From: Nathalie Kuoch Date: Tue, 24 Jan 2023 10:58:00 +0100 Subject: [PATCH] Fix missing import preventing opening Plaid modal --- 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() {