Update src/app/shop/[id]/page.tsx
This commit is contained in:
@@ -43,11 +43,11 @@ function ProductDetailContent({
|
||||
return (
|
||||
<>
|
||||
<ProductDetailCard
|
||||
name={product.name}
|
||||
description={product.description || ""}
|
||||
price={product.price || ""}
|
||||
images={[{ src: product.imageSrc || "", alt: product.imageAlt || product.name }]}
|
||||
onAddToCart={handleAddToCart}
|
||||
productName={product.name}
|
||||
productDescription={product.description || ""}
|
||||
productPrice={product.price || ""}
|
||||
productImages={[{ src: product.imageSrc || "", alt: product.imageAlt || product.name }]}
|
||||
onAddToCartClick={handleAddToCart}
|
||||
/>
|
||||
<ProductCart
|
||||
isOpen={isCartOpen}
|
||||
|
||||
Reference in New Issue
Block a user