Skip to content

Commit

Permalink
Fix ts lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Guysnacho committed Apr 8, 2024
1 parent 6da4145 commit 38dc1fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/checkout/components/shipping-address/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)

Expand Down
2 changes: 1 addition & 1 deletion src/modules/checkout/components/submit-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function SubmitButton({
className={className}
type="submit"
isLoading={pending}
variant={variant}
variant={variant || "primary"}
data-testid={dataTestId}
>
{children}
Expand Down
1 change: 0 additions & 1 deletion src/modules/common/components/filter-radio-group/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const FilterRadioGroup = ({
value={i.value}
/>
<Label
placeholder={i.label}
htmlFor={i.value}
className={clx(
"!txt-compact-small !transform-none text-ui-fg-subtle hover:cursor-pointer",
Expand Down

0 comments on commit 38dc1fe

Please sign in to comment.