mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Update to Next.js 13 (#870)
This commit is contained in:
@@ -46,6 +46,7 @@ export default function Home({
|
||||
key={product.id}
|
||||
product={product}
|
||||
imgProps={{
|
||||
alt: product.name,
|
||||
width: i === 0 ? 1080 : 540,
|
||||
height: i === 0 ? 1080 : 540,
|
||||
priority: true,
|
||||
@@ -68,6 +69,7 @@ export default function Home({
|
||||
key={product.id}
|
||||
product={product}
|
||||
imgProps={{
|
||||
alt: product.name,
|
||||
width: i === 0 ? 1080 : 540,
|
||||
height: i === 0 ? 1080 : 540,
|
||||
}}
|
||||
|
Reference in New Issue
Block a user