Skip to content

Commit

Permalink
fix: card payment changes (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
rising-dragon401 committed Apr 17, 2024
1 parent 8681ac6 commit e610655
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Payments/CardPayment.res
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ let make = (
</RenderIf>
<RenderIf condition={!isBancontact}>
{switch (list.mandate_payment, options.terms.card, list.payment_type) {
| (Some(_), Auto, _)
| (_, Always, _)
| (_, _, NEW_MANDATE)
| (_, _, SETUP_MANDATE) =>
| (Some(_), Auto, NEW_MANDATE)
| (Some(_), Auto, SETUP_MANDATE)
| (_, Always, NEW_MANDATE)
| (_, Always, SETUP_MANDATE) =>
<div
className="opacity-50 text-xs mb-2 text-left"
style={ReactDOMStyle.make(
Expand Down

0 comments on commit e610655

Please sign in to comment.