git ssb

0+

Rômulo Alves / website



Tree: eb3938470f7dee8766731b14c7345333971487e8

Files: eb3938470f7dee8766731b14c7345333971487e8 / pages / _document.tsx

455 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 <body>
17 <Main />
18 <NextScript />
19 </body>
20 </Html>
21 );
22 }
23}
24
25export default MyDocument;
26
27

Built with git-ssb-web