Skip to content

Commit

Permalink
fix: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Apr 3, 2024
1 parent 0ee4dcb commit 12c690c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/KYCWall/BaseKYCWall.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function KYCWall({
(!isExpenseReport && bankAccountList !== null && !PaymentUtils.hasExpensifyPaymentMethod(paymentCardList, bankAccountList, shouldIncludeDebitCard))
) {
Log.info('[KYC Wallet] User does not have valid payment method');

if (!shouldIncludeDebitCard) {
selectPaymentMethod(CONST.PAYMENT_METHODS.PERSONAL_BANK_ACCOUNT);
return;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/BankAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function openPersonalBankAccountSetupViewRefactor(exitReportID?: string) {
}

function clearPersonalBankAccountSetupType() {
Onyx.merge(ONYXKEYS.USER_WALLET, {setupType: null});
Onyx.merge(ONYXKEYS.FORMS.PERSONAL_BANK_ACCOUNT_FORM_DRAFT, {setupType: null});
}

/**
Expand Down

0 comments on commit 12c690c

Please sign in to comment.