diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 3afd157..3db3764 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -37,9 +37,9 @@ function ProductDetailContent({ id }: { id: string }) {
- {product.images && product.images.length > 0 && ( + {product.imageSrc && ( {product.name} diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 221afc0..8daf965 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -19,9 +19,9 @@ function ShopPageContent() {
{products.map((product) => (
- {product.images && product.images.length > 0 && ( + {product.imageSrc && ( {product.name}