mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
Fixed image issue
This commit is contained in:
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user