diff --git a/src/PaymentElement.res b/src/PaymentElement.res
index 290b9a885..e1e0d7479 100644
--- a/src/PaymentElement.res
+++ b/src/PaymentElement.res
@@ -402,14 +402,13 @@ let make = (~cardProps, ~expiryProps, ~cvcProps, ~paymentType: CardThemeType.mod
condition={displaySavedPaymentMethods && savedMethods->Array.length > 0 && showFields}>
setShowFields(_ => false)}>
{React.string(localeString.useExistingPaymentMethods)}
diff --git a/src/PaymentOptions.res b/src/PaymentOptions.res
index 82749de93..d128cd832 100644
--- a/src/PaymentOptions.res
+++ b/src/PaymentOptions.res
@@ -13,24 +13,23 @@ module TabLoader = {
Belt.Int.toString}
- style={ReactDOMStyle.make(
- ~minWidth="5rem",
- ~overflowWrap="hidden",
- ~width="100%",
- ~padding=themeObj.spacingUnit,
- ~cursor="pointer",
- (),
- )}>
+ style={
+ minWidth: "5rem",
+ overflowWrap: "hidden",
+ width: "100%",
+ padding: themeObj.spacingUnit,
+ cursor: "pointer",
+ }>
@@ -109,14 +108,13 @@ let make = (
ReactDOM.Ref.domRef}
className="flex flex-row overflow-auto no-scrollbar"
- style={ReactDOMStyle.make(
- ~columnGap=themeObj.spacingTab,
- ~marginBottom=themeObj.spacingGridColumn,
- ~paddingBottom="7px",
- ~padding="4px",
- ~height="auto",
- (),
- )}>
+ style={
+ columnGap: themeObj.spacingTab,
+ marginBottom: themeObj.spacingGridColumn,
+ paddingBottom: "7px",
+ padding: "4px",
+ height: "auto",
+ }>
{cardOptionDetails
->Array.mapWithIndex((payOption, i) => {
let isActive = payOption.paymentMethodName == selectedOption
@@ -147,17 +145,16 @@ let make = (
className={`TabMore place-items-start outline-none`}
onChange=handleChange
disabled=readOnly
- style={ReactDOMStyle.make(
- ~width="40px",
- ~paddingLeft=themeObj.spacingUnit,
- ~background=themeObj.colorBackground,
- ~cursor="pointer",
- ~height="inherit",
- ~borderRadius=themeObj.borderRadius,
- ~appearance="none",
- ~color="transparent",
- (),
- )}>
+ style={
+ width: "40px",
+ paddingLeft: themeObj.spacingUnit,
+ background: themeObj.colorBackground,
+ cursor: "pointer",
+ height: "inherit",
+ borderRadius: themeObj.borderRadius,
+ appearance: "none",
+ color: "transparent",
+ }>