You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
4 years ago
|
import Document, { Html, Head, Main, NextScript } from "next/document";
|
||
|
|
||
|
export default class AppDocument extends Document {
|
||
|
static async getInitialProps(ctx) {
|
||
|
const initialProps = await Document.getInitialProps(ctx);
|
||
|
return { ...initialProps };
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<Html lang="en">
|
||
|
<Head />
|
||
|
<body>
|
||
|
<Main />
|
||
|
<NextScript />
|
||
|
</body>
|
||
|
</Html>
|
||
|
);
|
||
|
}
|
||
|
}
|