mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
feat(poc): improve addToCart, remove warn
This commit is contained in:
@@ -104,7 +104,11 @@ export default async function ProductPage({ params }: { params: { handle: string
|
||||
<Prose className="mb-6 text-sm leading-tight" html={product.descriptionHtml} />
|
||||
) : null}
|
||||
|
||||
<AddToCart product={product} variants={product.variants} availableForSale={true} />
|
||||
<AddToCart
|
||||
product={product}
|
||||
variants={product.variants}
|
||||
availableForSale={product.availableForSale}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<Suspense>
|
||||
|
Reference in New Issue
Block a user