4
0
forked from crowetic/commerce

Minor change

This commit is contained in:
Luis Alvarez 2021-02-03 17:14:19 -05:00
parent c06d9dae3a
commit 1898f094bc

View File

@ -42,8 +42,8 @@ const WishlistCard: FC<Props> = ({ product }) => {
setLoading(true) setLoading(true)
try { try {
await addItem({ await addItem({
productId: Number(product.id), productId: product.id,
variantId: Number(product.variants[0].id), variantId: product.variants[0].id,
}) })
openSidebar() openSidebar()
setLoading(false) setLoading(false)