summaryrefslogtreecommitdiff
path: root/pages/_app.tsx
blob: 8f7cd459e36977d815a9f1f0ff7e214b119a8d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { ChakraProvider } from '@chakra-ui/react'
import theme from '../lib/theme'
import type { AppProps } from 'next/app'
import '@fontsource/lato/400.css'
import { useAnalytics } from '@happykit/analytics';

function MyApp({ Component, pageProps }: AppProps) {
  useAnalytics({ publicKey: "analytics_pub_a2812a8f3f" })

  return (
    <ChakraProvider theme={theme}>
      <Component {...pageProps} />
    </ChakraProvider>
  )
}

export default MyApp