Merge branch 'agnostic' of github.com:vercel/commerce into agnostic

This commit is contained in:
okbel
2021-02-11 16:59:26 -03:00
17 changed files with 591 additions and 264 deletions

View File

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