Add vercel analytics

This commit is contained in:
Benji Grant 2023-06-09 03:20:43 +10:00
parent badcbac658
commit e426364cfc
3 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,6 @@
import { Metadata } from 'next'
import { Karla } from 'next/font/google'
import { Analytics } from '@vercel/analytics/react'
import Egg from '/src/components/Egg/Egg'
import Settings from '/src/components/Settings/Settings'
@ -42,6 +43,8 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
<TranslateDialog />
{children}
<Analytics />
</body>
</html>
}