Skip to content

Commit

Permalink
chore: implement vercel analytic
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosllz committed Nov 20, 2023
1 parent 7ae5f90 commit 292ed1a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@tiptap/pm": "^2.1.8",
"@tiptap/react": "^2.1.8",
"@tiptap/starter-kit": "^2.1.8",
"@vercel/analytics": "^1.1.1",
"axios": "^1.4.0",
"bufferutil": "^4.0.7",
"cmdk": "^0.2.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { Providers } from './providers'
import { Toaster } from '@/components/ui/toaster'
import { Analytics } from '@vercel/analytics/react'

const inter = Inter({
display: 'swap',
Expand Down Expand Up @@ -33,6 +34,7 @@ export default function RootLayout({
<body className="scrollbar scrollbar-track-transparent scrollbar-thumb-secondary scrollbar-track-rounded-md scrollbar-thumb-rounded-md scrollbar-w-2">
<Providers>{children}</Providers>
<Toaster />
<Analytics />
</body>
</html>
)
Expand Down

0 comments on commit 292ed1a

Please sign in to comment.