diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 47c000032..d60f3e937 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -25,7 +25,7 @@ const ProductCard: FC = ({ className, product, variant, imgProps }) => { {product.name} - {product.images[0] && ( + {product.images?[0] && ( {product.name} = ({ className, product, variant, imgProps }) => {
- {product.images[0] && ( + {product.images?[0] && (