Skip to content

Commit

Permalink
set higher image priority for primary images (vercel#641)
Browse files Browse the repository at this point in the history
* set higher image priority for primary images

* fixup
  • Loading branch information
sokra authored Jan 13, 2022
1 parent 4559f0b commit 33d4a32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default function Home({
imgProps={{
width: i === 0 ? 1080 : 540,
height: i === 0 ? 1080 : 540,
priority: true
}}
/>
))}
Expand Down

0 comments on commit 33d4a32

Please sign in to comment.