15 lines
383 B
TypeScript
15 lines
383 B
TypeScript
import '@mantine/core/styles.css'
|
|
import type { AppProps } from 'next/app'
|
|
import { MantineProvider } from '@mantine/core'
|
|
import NoSsr from '@/components/NoSsr'
|
|
|
|
export default function App({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<NoSsr>
|
|
<MantineProvider defaultColorScheme="auto">
|
|
<Component {...pageProps} />
|
|
</MantineProvider>
|
|
</NoSsr>
|
|
)
|
|
}
|