From c851da25f4f9828ee26844df4ed84d33151d3ce2 Mon Sep 17 00:00:00 2001 From: Ivan Kalinin Date: Tue, 15 Jun 2021 23:57:45 -0700 Subject: [PATCH] Fixed no-img-element documentation snippet. (#26154) Module "next/image" has no exported member 'Image'. It must be `import Image from "next/image"` --- errors/no-img-element.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/no-img-element.md b/errors/no-img-element.md index 7bc8523146ff7..96826da88860b 100644 --- a/errors/no-img-element.md +++ b/errors/no-img-element.md @@ -9,7 +9,7 @@ An HTML `` element was used to display an image. For better performance and Import and use the `` component: ```jsx -import { Image } from 'next/image' +import Image from 'next/image' function Home() { return (