From a4bbabb225b9c5d15ea491d951741dddcd7f9247 Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 26 Oct 2021 20:05:18 -0400 Subject: [PATCH] Remove unused code snippet --- docs/basic-features/image-optimization.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/basic-features/image-optimization.md b/docs/basic-features/image-optimization.md index 59df054369f78..c66cc34f91355 100644 --- a/docs/basic-features/image-optimization.md +++ b/docs/basic-features/image-optimization.md @@ -119,8 +119,6 @@ You should add the `priority` property to the image that will be the [Largest Co The LCP element is typically the largest image or text block visible within the viewport of the page. When you run `next dev`, you'll see a console warning if the LCP element is an `` without the `priority` property. -```` - Once you've identified the LCP image, you can add the property like this: ```jsx @@ -141,7 +139,7 @@ export default function Home() { ) } -```` +``` See more about priority in the [`next/image` component documentation](/docs/api-reference/next/image.md#priority).