2021-06-19 09:00:44 +00:00
|
|
|
import useGtag from 'hooks/useGtag'
|
2021-06-03 16:13:23 +00:00
|
|
|
import { AppProps } from 'next/app'
|
|
|
|
import { globalStyles } from 'styles'
|
|
|
|
import 'styles/globals.css'
|
2021-06-19 10:22:23 +00:00
|
|
|
import { Provider } from 'next-auth/client'
|
2021-05-09 12:03:39 +00:00
|
|
|
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
|
|
globalStyles()
|
2021-06-20 12:35:47 +00:00
|
|
|
|
2021-06-19 09:00:44 +00:00
|
|
|
useGtag()
|
|
|
|
|
2021-06-19 10:22:23 +00:00
|
|
|
return (
|
|
|
|
<Provider session={pageProps.session}>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</Provider>
|
|
|
|
)
|
2021-05-09 12:03:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default MyApp
|