Update src/app/shop/[id]/page.tsx

This commit is contained in:
2026-02-23 15:19:21 +00:00
parent 6afb31e536
commit d9b80911ec

View File

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