From da931d71ab008dcd61571fd3ecd4b6a9dddf4b9d Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 28 Mar 2023 12:06:26 +0000 Subject: [PATCH] get plaidData values --- src/pages/ReimbursementAccount/BankAccountPlaidStep.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ReimbursementAccount/BankAccountPlaidStep.js b/src/pages/ReimbursementAccount/BankAccountPlaidStep.js index 45ef47dd4686..89339e0d7968 100644 --- a/src/pages/ReimbursementAccount/BankAccountPlaidStep.js +++ b/src/pages/ReimbursementAccount/BankAccountPlaidStep.js @@ -45,7 +45,7 @@ class BankAccountPlaidStep extends React.Component { submit() { const selectedPlaidBankAccount = _.findWhere(lodashGet(this.props.plaidData, 'bankAccounts', []), { - plaidAccountID: this.props.getDefaultStateForField('plaidAccountID'), + plaidAccountID: lodashGet(this.props.reimbursementAccountDraft, 'plaidAccountID', ''), }); const bankAccountData = { @@ -65,7 +65,7 @@ class BankAccountPlaidStep extends React.Component { render() { const bankAccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0; - const selectedPlaidAccountID = this.props.getDefaultStateForField('plaidAccountID', ''); + const selectedPlaidAccountID = lodashGet(this.props.reimbursementAccountDraft, 'plaidAccountID', ''); return (