diff --git a/errors/no-stylesheets-in-head-component.md b/errors/no-stylesheets-in-head-component.md index 3e3901a682ddd8f..319cae672bfeb67 100644 --- a/errors/no-stylesheets-in-head-component.md +++ b/errors/no-stylesheets-in-head-component.md @@ -18,7 +18,7 @@ Add the stylesheet in a custom `Document` component. ```jsx // pages/_document.js -import Document, { Html, Head, Main, NextScript } from 'next/document' +import { Html, Head, Main, NextScript } from 'next/document' export default function Document() { return (