-
-
Save Nilanth/d71eb49255e46790fa57a08e9df18159 to your computer and use it in GitHub Desktop.
myapp
This file contains 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 'tailwindcss/tailwind.css' | |
import Navigation from "../components/Navigation"; | |
import { ThemeProvider } from 'next-themes' | |
function MyApp({ Component, pageProps }) { | |
return <> | |
<ThemeProvider attribute="class" enableSystem={false}> | |
<Navigation/> | |
<Component {...pageProps} /> | |
</ThemeProvider> | |
</> | |
} | |
export default MyApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment