mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Adding support for default options and removing the one that we do not need
This commit is contained in:
@@ -39,7 +39,6 @@ const ProductView: FC<Props> = ({ product }) => {
|
||||
})
|
||||
}, [])
|
||||
|
||||
console.log(product.variants[0])
|
||||
const variant = getVariant(product, choices)
|
||||
|
||||
const addToCart = async () => {
|
||||
|
Reference in New Issue
Block a user