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

This commit is contained in:
Gabe Kangas
2022-12-19 10:08:58 -08:00
parent ed269b20e0
commit 58e4a118a6

13
web/pages/_document.tsx Normal file
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>
);
}