Initialize vercel analytics

This commit is contained in:
Jeff Gardner
2023-02-03 12:21:04 +01:00
parent 35160b0dda
commit bb812fe75d

View File

@@ -2,6 +2,7 @@ import Head from 'next/head'
import { slugifyWithCounter } from '@sindresorhus/slugify'
import { Layout } from '@/components/Layout'
import { Analytics } from '@vercel/analytics/react'
import 'focus-visible'
import '@/styles/tailwind.css'
@@ -90,6 +91,7 @@ export default function App({ Component, pageProps }) {
<Layout title={title} tableOfContents={tableOfContents}>
<Component {...pageProps} />
</Layout>
<Analytics />
</>
)
}