git ssb

0+

Rômulo Alves / website



Tree: 1c565fd835e560d9649f1839715e501895e84f77

Files: 1c565fd835e560d9649f1839715e501895e84f77 / pages / _document.js

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

Built with git-ssb-web