Add custom document in order to support lang attr on html. Closes #2445

This commit is contained in:
Gabe Kangas
2022-12-19 18:38:05 -08:00
parent ed269b20e0
commit 58e4a118a6
+13
View File
@@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}