diff --git a/src/Components/SavedMethods.res b/src/Components/SavedMethods.res index 3f18d0d7c..3c7ee5724 100644 --- a/src/Components/SavedMethods.res +++ b/src/Components/SavedMethods.res @@ -179,7 +179,7 @@ let make = ( let conditionsForShowingSaveCardCheckbox = React.useMemo(() => { !isGuestCustomer && list.payment_type !== SETUP_MANDATE && displaySavedPaymentMethodsCheckbox - }, (isGuestCustomer, list, displaySavedPaymentMethodsCheckbox)) + }, (isGuestCustomer, list.payment_type, displaySavedPaymentMethodsCheckbox))
{if savedCardlength === 0 && (loadSavedCards === PaymentType.LoadingSavedCards || !showFields) {