Skip to content

Commit

Permalink
fix: business bank account is always selected when pay with expensify
Browse files Browse the repository at this point in the history
  • Loading branch information
gijoe0295 committed Jul 31, 2024
1 parent e12f060 commit 8783422
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
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8783422

Please sign in to comment.