mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Minor change
This commit is contained in:
parent
c06d9dae3a
commit
1898f094bc
@ -42,8 +42,8 @@ const WishlistCard: FC<Props> = ({ product }) => {
|
||||
setLoading(true)
|
||||
try {
|
||||
await addItem({
|
||||
productId: Number(product.id),
|
||||
variantId: Number(product.variants[0].id),
|
||||
productId: product.id,
|
||||
variantId: product.variants[0].id,
|
||||
})
|
||||
openSidebar()
|
||||
setLoading(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user