git ssb

0+

Rômulo Alves / website



Tree: 0b5cc6b028dd8f3199b4203e8f44c9bc54b35b65

Files: 0b5cc6b028dd8f3199b4203e8f44c9bc54b35b65 / pages / _document.tsx

469 bytesRaw
1import Document, { Html, Head, Main, NextScript } from 'next/document';
2
3class MyDocument extends Document {
4 static async getInitialProps(ctx) {
5 const initialProps = await Document.getInitialProps(ctx);
6
7 return {
8 ...initialProps
9 };
10 }
11
12 render() {
13 return (
14 <Html lang="en">
15 <Head>
16 </Head>
17 <body>
18 <Main />
19 <NextScript />
20 </body>
21 </Html>
22 );
23 }
24}
25
26export default MyDocument;
27
28

Built with git-ssb-web