Skip to content

Commit 0ce1540

Browse files
author
Pritish Budhiraja
authored
feat: normal mandate changes (#314)
1 parent 63a54aa commit 0ce1540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/SavedMethods.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ let make = (
177177
useSubmitPaymentData(submitCallback)
178178

179179
let conditionsForShowingSaveCardCheckbox = React.useMemo(() => {
180-
!isGuestCustomer && list.payment_type !== SETUP_MANDATE && displaySavedPaymentMethodsCheckbox
180+
!isGuestCustomer && list.payment_type === NEW_MANDATE && displaySavedPaymentMethodsCheckbox
181181
}, (isGuestCustomer, list.payment_type, displaySavedPaymentMethodsCheckbox))
182182

183183
<div className="flex flex-col overflow-auto h-auto no-scrollbar animate-slowShow">

0 commit comments

Comments
 (0)