Skip to content

Commit

Permalink
update disabled prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Sep 27, 2024
1 parent 7b0f675 commit c8861f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings/Wallet/PaymentMethodList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function PaymentMethodList({
text={translate('walletPage.addBankAccount')}
large
success
isDisabled={isLoadingPaymentMethods}
isDisabled={!isUserValidated}
onPress={onPress}
/>
) : (
Expand All @@ -339,7 +339,7 @@ function PaymentMethodList({
/>
),

[shouldUseSuccessAddBankAccountButton, translate, onPress, isLoadingPaymentMethods, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated],
[shouldUseSuccessAddBankAccountButton, translate, onPress, buttonRef, styles.paymentMethod, listItemStyle, isUserValidated],
);

/**
Expand Down

0 comments on commit c8861f3

Please sign in to comment.