forked from crowetic/commerce
Minor change
This commit is contained in:
parent
c06d9dae3a
commit
1898f094bc
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user