Ignore some types

This commit is contained in:
Luis Alvarez
2021-02-25 18:10:59 -05:00
parent e90d9a2121
commit fc023de844
12 changed files with 22 additions and 10 deletions

View File

@@ -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)