Created
October 12, 2020 18:24
-
-
Save TheEskhaton/b4d380b06e41e355c4e79768a55745e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ColorModeScript } from "@chakra-ui/core" | |
import Document, { Head, Html, Main, NextScript } from 'next/document' | |
class MyDocument extends Document { | |
render() { | |
return ( | |
<Html> | |
<Head /> | |
<body> | |
<ColorModeScript initialColorMode="light"></ColorModeScript> | |
<Main /> | |
<NextScript /> | |
</body> | |
</Html> | |
) | |
} | |
} | |
export default MyDocument |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment