diff --git a/errors/no-page-custom-font.md b/errors/no-page-custom-font.md index a69d05ff99371..51052a34422cb 100644 --- a/errors/no-page-custom-font.md +++ b/errors/no-page-custom-font.md @@ -41,7 +41,7 @@ Or as a function component: ```js // 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 (