From c8861f3fcd5d7d2a96959dab2ad3a040528339fc Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Fri, 27 Sep 2024 12:30:23 +0200 Subject: [PATCH] update disabled prop --- src/pages/settings/Wallet/PaymentMethodList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/settings/Wallet/PaymentMethodList.tsx b/src/pages/settings/Wallet/PaymentMethodList.tsx index a41e086ec3b2..6ce72746d6a9 100644 --- a/src/pages/settings/Wallet/PaymentMethodList.tsx +++ b/src/pages/settings/Wallet/PaymentMethodList.tsx @@ -325,7 +325,7 @@ function PaymentMethodList({ text={translate('walletPage.addBankAccount')} large success - isDisabled={isLoadingPaymentMethods} + isDisabled={!isUserValidated} onPress={onPress} /> ) : ( @@ -339,7 +339,7 @@ function PaymentMethodList({ /> ), - [shouldUseSuccessAddBankAccountButton, translate, onPress, isLoadingPaymentMethods, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated], + [shouldUseSuccessAddBankAccountButton, translate, onPress, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated], ); /**