From 3e8ecb716eeda5d11695e22adfd464f5444d5e20 Mon Sep 17 00:00:00 2001 From: "aritro.ghosh" Date: Wed, 11 Dec 2024 14:15:20 +0530 Subject: [PATCH 1/2] feat: added icon for cartesbancaires --- public/icons/orca.svg | 1 + src/CardUtils.res | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/icons/orca.svg b/public/icons/orca.svg index dcdab264..93304368 100644 --- a/public/icons/orca.svg +++ b/public/icons/orca.svg @@ -760,6 +760,7 @@ License) + { | SODEXO => | RUPAY => | JCB => - | CARTESBANCAIRES => + | CARTESBANCAIRES => | UNIONPAY => | INTERAC => | NOTFOUND => From 7fd5238a023ee9439362eb84880036241b425916 Mon Sep 17 00:00:00 2001 From: Sanskar Atrey Date: Wed, 11 Dec 2024 14:21:31 +0530 Subject: [PATCH 2/2] refactor: ux enhancement --- src/CardSchemeComponent.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CardSchemeComponent.res b/src/CardSchemeComponent.res index 1d662171..00328cb4 100644 --- a/src/CardSchemeComponent.res +++ b/src/CardSchemeComponent.res @@ -44,7 +44,7 @@ let make = (~cardNumber, ~paymentType, ~cardBrand, ~setCardBrand) => {
cardBrandIcon - + CardUtils.clearSpaces->String.length >= 16}>