2022-04-10 20:15:15 +10:00
|
|
|
import '../styles/globals.css'
|
|
|
|
import type { AppProps } from 'next/app'
|
2022-04-13 13:44:23 +10:00
|
|
|
import {ThemeProvider} from 'next-themes'
|
2022-04-10 20:15:15 +10:00
|
|
|
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
2022-04-13 13:44:23 +10:00
|
|
|
return (
|
2022-04-24 00:19:38 +10:00
|
|
|
<ThemeProvider attribute="class" defaultTheme="dark">
|
2022-04-13 13:44:23 +10:00
|
|
|
<Component {...pageProps} />
|
|
|
|
</ThemeProvider>
|
|
|
|
)
|
2022-04-10 20:15:15 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
export default MyApp
|