From 81c4ddc20075421c77834fce574e1bebd15c1b34 Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Mon, 30 Mar 2020 20:47:03 -0600 Subject: [PATCH] feat(payment): INT-2432 Addressed last comment from Luis --- src/app/payment/paymentMethod/AdyenV2CardValidation.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/payment/paymentMethod/AdyenV2CardValidation.tsx b/src/app/payment/paymentMethod/AdyenV2CardValidation.tsx index eb383183a3..849347bdf8 100644 --- a/src/app/payment/paymentMethod/AdyenV2CardValidation.tsx +++ b/src/app/payment/paymentMethod/AdyenV2CardValidation.tsx @@ -30,6 +30,8 @@ const AdyenV2CardValidation: React.FunctionComponent 'form-field', 'form-field--ccNumber', { 'form-field--ccNumber--hasExpiryDate': paymentMethodType === 'bcmc' }, + // This div is hiding by CSS because there is an Adyen library in + // checkout-sdk which mounts verification fields and if is removed with JS this mounting event will be thrown an error { 'form-field-ccNumber--hide': !shouldShowNumberField } ) } >