1
0
mirror of https://github.com/vercel/commerce.git synced 2025-06-10 09:56:58 +00:00

Fixed image issue

This commit is contained in:
Luis Alvarez 2021-06-08 17:48:34 -05:00
parent cd182f8c59
commit b4eba53be0

@ -48,7 +48,7 @@ const ProductCard: FC<Props> = ({
{product?.images && (
<Image
quality="85"
src={product.images[0].url || placeholderImg}
src={product.images[0]?.url || placeholderImg}
alt={product.name || 'Product Image'}
height={320}
width={320}