diff --git a/src/Types/PaymentType.res b/src/Types/PaymentType.res index 16b5e46eb..98fc092a7 100644 --- a/src/Types/PaymentType.res +++ b/src/Types/PaymentType.res @@ -975,5 +975,5 @@ let itemToObjMapper = (dict, logger) => { type loadType = Loading | Loaded(JSON.t) | SemiLoaded | LoadError(JSON.t) let getIsStoredPaymentMethodHasName = (savedMethod: customerMethods) => { - savedMethod.card.cardHolderName->Option.getOr("")->Js.String2.length > 0 + savedMethod.card.cardHolderName->Option.getOr("")->String.length > 0 }