Skip to content

Commit

Permalink
add speed insights
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed May 19, 2024
1 parent 74b2e0d commit 27f339e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"@upstash/ratelimit": "1.0.1",
"@vercel/analytics": "1.2.2",
"@vercel/kv": "1.0.1",
"@vercel/speed-insights": "1.0.10",
"ai": "2.2.12",
"autoprefixer": "10.4.17",
"class-variance-authority": "0.7.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Metadata } from 'next'
import { Analytics } from '@vercel/analytics/react'
import { SpeedInsights } from '@vercel/speed-insights/next'

import { APP_URL } from '@/constants'

Expand Down Expand Up @@ -45,6 +46,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<body>
{children}
<Analytics />
<SpeedInsights />
<Toaster theme='system' />
</body>
</html>
Expand Down

0 comments on commit 27f339e

Please sign in to comment.