blob: 13bd2a2336110e52fce597832006bc2d5f539634 [file] [log] [blame]
pineafan9eec83e2021-11-15 21:15:35 +00001import Document, { Html, Head, Main, NextScript } from 'next/document'
2
3class Doc extends Document {
4 static async getInitialProps(ctx) {
5 const initialProps = await Document.getInitialProps(ctx)
6 return { ...initialProps }
7 }
8
9 render() {
10 return (
11 <Html lang="en">
12 <Head>
13 <meta charSet="utf-8" />
14 </Head>
15 <body>
16 <Main />
17 <NextScript />
18 </body>
19 </Html>
20 )
21 }
22}
23
24export default Doc