Skip to content

Commit

Permalink
Merge pull request #5763 from Expensify/ckt_n6_fixOnfido
Browse files Browse the repository at this point in the history
Set loading to false when requestorStep is submittted

(cherry picked from commit 5302984)
  • Loading branch information
Chris Kosuke Tseng authored and OSBotify committed Oct 11, 2021
1 parent a57f5e5 commit 414ad00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/actions/BankAccounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ function setupWithdrawalAccount(data) {
// Requestor Step still needs to run Onfido
achData.sdkToken = sdkToken;
goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR, achData);
Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {loading: false});
return;
}
} else if (requestorResponse) {
Expand All @@ -725,6 +726,7 @@ function setupWithdrawalAccount(data) {
if (!_.isEmpty(questions)) {
achData.questions = questions;
goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR, achData);
Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {loading: false});
return;
}
}
Expand Down

0 comments on commit 414ad00

Please sign in to comment.