fd85e07728
This reverts commit 12349b7129
.
18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
import useGtag from 'hooks/useGtag'
|
|
import { AppProps } from 'next/app'
|
|
import { globalStyles } from 'styles'
|
|
import 'styles/globals.css'
|
|
import { Provider } from 'next-auth/client'
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
globalStyles()
|
|
useGtag()
|
|
|
|
return (
|
|
<Provider session={pageProps.session}>
|
|
<Component {...pageProps} />
|
|
</Provider>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|