diff --git a/src/modules/checkout/components/shipping-address/index.tsx b/src/modules/checkout/components/shipping-address/index.tsx index af8f31a..ac67b71 100644 --- a/src/modules/checkout/components/shipping-address/index.tsx +++ b/src/modules/checkout/components/shipping-address/index.tsx @@ -34,7 +34,7 @@ const ShippingAddress = ({ }) const countriesInRegion = useMemo( - () => cart?.region.countries.map((c) => c.iso_2), + () => cart?.region.countries.map((c: { iso_2: any }) => c.iso_2), [cart?.region] ) diff --git a/src/modules/checkout/components/submit-button/index.tsx b/src/modules/checkout/components/submit-button/index.tsx index 7742521..884a697 100644 --- a/src/modules/checkout/components/submit-button/index.tsx +++ b/src/modules/checkout/components/submit-button/index.tsx @@ -23,7 +23,7 @@ export function SubmitButton({ className={className} type="submit" isLoading={pending} - variant={variant} + variant={variant || "primary"} data-testid={dataTestId} > {children} diff --git a/src/modules/common/components/filter-radio-group/index.tsx b/src/modules/common/components/filter-radio-group/index.tsx index fc813b8..1cf5e6e 100644 --- a/src/modules/common/components/filter-radio-group/index.tsx +++ b/src/modules/common/components/filter-radio-group/index.tsx @@ -45,7 +45,6 @@ const FilterRadioGroup = ({ value={i.value} />