Skip to content

Commit

Permalink
feat: normal mandate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Apr 19, 2024
1 parent 63a54aa commit 7aaf860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/SavedMethods.res
Original file line number Diff line number Diff line change
Expand Up @@ -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))

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

0 comments on commit 7aaf860

Please sign in to comment.