mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Fixed another product type
This commit is contained in:
parent
62ed50a646
commit
c621874250
@ -43,7 +43,7 @@ const ProductView: FC<Props> = ({ product }) => {
|
||||
try {
|
||||
await addItem({
|
||||
productId: String(product.id),
|
||||
variantId: variant ? variant.id : product.variants[0].id,
|
||||
variantId: String(variant ? variant.id : product.variants[0].id),
|
||||
})
|
||||
openSidebar()
|
||||
setLoading(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user