From 5c8d2a89b7b25d6555ef7b3360acdc96201c9fe7 Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Mon, 29 Jan 2024 14:39:31 -1000 Subject: [PATCH] Revert "Don't persist error after reconnecting with plaid" --- src/pages/ReimbursementAccount/ReimbursementAccountPage.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index 156c8a78e14d..2069c71f3c8b 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -315,11 +315,6 @@ function ReimbursementAccountPage({reimbursementAccount, route, onfidoToken, pol const currentStepRouteParam = getStepToOpenFromRouteParams(route); if (currentStepRouteParam === currentStep) { - // If the user is connecting online with plaid, reset any bank account errors so we don't persist old data from a potential previous connection - if (currentStep === CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT && achData.subStep === CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID) { - BankAccounts.hideBankAccountErrors(); - } - // The route is showing the correct step, no need to update the route param or clear errors. return; }