tldraw/pages/_app.tsx
2021-06-19 17:03:07 +01:00

20 lines
444 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'
import { init } from 'utils/sentry'
function MyApp({ Component, pageProps }: AppProps) {
globalStyles()
useGtag()
init()
return (
<Provider session={pageProps.session}>
<Component {...pageProps} />
</Provider>
)
}
export default MyApp