diff --git a/src/pages/ReimbursementAccount/BankInfo/BankInfo.tsx b/src/pages/ReimbursementAccount/BankInfo/BankInfo.tsx index ed00fbcff422..d1092293031b 100644 --- a/src/pages/ReimbursementAccount/BankInfo/BankInfo.tsx +++ b/src/pages/ReimbursementAccount/BankInfo/BankInfo.tsx @@ -124,6 +124,7 @@ function BankInfo({reimbursementAccount, reimbursementAccountDraft, plaidLinkTok [BANK_INFO_STEP_KEYS.PLAID_ACCESS_TOKEN]: '', }; ReimbursementAccountUtils.updateReimbursementAccountDraft(bankAccountData); + ReimbursementAccountUtils.hideBankAccountErrors(); BankAccounts.setBankAccountSubStep(null); } } else { diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index 9855090e70d1..3145525daa52 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -484,9 +484,7 @@ function ReimbursementAccountPage({reimbursementAccount, route, onfidoToken, pol reimbursementAccount={reimbursementAccount} continue={continueFunction} policyName={policyName} - onBackButtonPress={() => { - Navigation.goBack(); - }} + onBackButtonPress={Navigation.goBack} /> ); }