1
0
mirror of https://github.com/vercel/commerce.git synced 2025-05-18 15:36:58 +00:00

Minor change

This commit is contained in:
Luis Alvarez 2021-02-03 17:14:19 -05:00
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)