Skip to content

Commit

Permalink
Merge pull request #46598 from mananjadhav/mj-bank-account-pay-fix
Browse files Browse the repository at this point in the history
fix: bank account option in payment methods
(cherry picked from commit dab7685)
  • Loading branch information
roryabraham authored and OSBotify committed Jul 31, 2024
1 parent c174a89 commit baec5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddPaymentMethodMenu.tsx
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ function AddPaymentMethodMenu({

// We temporarily disabled P2P debit cards so we will automatically select the personal bank account option if there is no other option to select.
useEffect(() => {
if (!isVisible) {
if (!isVisible || !isPersonalOnlyOption) {
return;
}

0 comments on commit baec5b8

Please sign in to comment.