mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 15:36:58 +00:00
Fixed image issue
This commit is contained in:
parent
cd182f8c59
commit
b4eba53be0
@ -48,7 +48,7 @@ const ProductCard: FC<Props> = ({
|
|||||||
{product?.images && (
|
{product?.images && (
|
||||||
<Image
|
<Image
|
||||||
quality="85"
|
quality="85"
|
||||||
src={product.images[0].url || placeholderImg}
|
src={product.images[0]?.url || placeholderImg}
|
||||||
alt={product.name || 'Product Image'}
|
alt={product.name || 'Product Image'}
|
||||||
height={320}
|
height={320}
|
||||||
width={320}
|
width={320}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user