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.
24 lines
561 B
24 lines
561 B
2 years ago
|
import Document, { Html, Main, NextScript, Head } from "next/document"
|
||
|
|
||
|
class MyDocument extends Document {
|
||
|
// Only uncomment if you need to customize this behaviour
|
||
|
// static async getInitialProps(ctx: DocumentContext) {
|
||
|
// const initialProps = await Document.getInitialProps(ctx)
|
||
|
// return {...initialProps}
|
||
|
// }
|
||
|
render() {
|
||
|
return (
|
||
|
<Html lang="en">
|
||
|
<Head />
|
||
|
<body>
|
||
|
<Main />
|
||
|
<NextScript />
|
||
|
<div id="modal-root"></div>
|
||
|
</body>
|
||
|
</Html>
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default MyDocument
|