From 6324c9feb2e6bfbde17d69395847814c96b7363a Mon Sep 17 00:00:00 2001 From: Manan Jadhav Date: Wed, 31 Jul 2024 21:14:50 +0530 Subject: [PATCH] fix: bank account option in payment methods --- src/components/AddPaymentMethodMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddPaymentMethodMenu.tsx b/src/components/AddPaymentMethodMenu.tsx index 451979b92efa..bd437cbb062d 100644 --- a/src/components/AddPaymentMethodMenu.tsx +++ b/src/components/AddPaymentMethodMenu.tsx @@ -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; }