From e39367711bded91aa0f11b6698ad1548d9c1ef12 Mon Sep 17 00:00:00 2001 From: Ivan Kalinin Date: Tue, 15 Jun 2021 17:09:24 -0700 Subject: [PATCH] Fixed no-img-element documentation snippet. 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 (