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.
23 lines
561 B
23 lines
561 B
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
|
|
|