From 7aaf8609c2285d1ae5743ed57ad91800ff3897d6 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Fri, 19 Apr 2024 15:50:02 +0530 Subject: [PATCH] feat: normal mandate changes --- src/Components/SavedMethods.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/SavedMethods.res b/src/Components/SavedMethods.res index 12c0729b4..6ac0ccaef 100644 --- a/src/Components/SavedMethods.res +++ b/src/Components/SavedMethods.res @@ -177,7 +177,7 @@ let make = ( useSubmitPaymentData(submitCallback) let conditionsForShowingSaveCardCheckbox = React.useMemo(() => { - !isGuestCustomer && list.payment_type !== SETUP_MANDATE && displaySavedPaymentMethodsCheckbox + !isGuestCustomer && list.payment_type === NEW_MANDATE && displaySavedPaymentMethodsCheckbox }, (isGuestCustomer, list.payment_type, displaySavedPaymentMethodsCheckbox))