Skip to content

Commit

Permalink
fix: Show label free if the price is equal to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Jan 28, 2022
1 parent 6ff1460 commit 406d03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ShippingMethodPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ShippingMethodPrice: FunctionComponent<ShippingMethodPriceProps> = (
})
setPrice(p)
const c = getAmount<number>({
base: 'freeOver',
base: 'free_over',
type,
format: 'cents',
obj: shippingMethod,
Expand Down

0 comments on commit 406d03d

Please sign in to comment.