mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
Ignore some types
This commit is contained in:
@@ -22,6 +22,7 @@ const WishlistCard: FC<Props> = ({ product }) => {
|
||||
baseAmount: product.prices?.retailPrice?.value,
|
||||
currencyCode: product.prices?.price?.currencyCode!,
|
||||
})
|
||||
// @ts-ignore Wishlist is not always enabled
|
||||
const removeItem = useRemoveItem({ wishlist: { includeProducts: true } })
|
||||
const [loading, setLoading] = useState(false)
|
||||
const [removing, setRemoving] = useState(false)
|
||||
|
Reference in New Issue
Block a user