Skip to content

Commit ce6c672

Browse files
committed
feat: add analytics
1 parent 7a271e4 commit ce6c672

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@
6464
"@tanstack/react-query-persist-client": "^5.85.9",
6565
"@types/marked": "^5.0.2",
6666
"@types/react-helmet": "^6.1.11",
67+
"@vercel/analytics": "^1.5.0",
6768
"class-variance-authority": "^0.7.1",
6869
"clsx": "^2.1.1",
6970
"cmdk": "^1.0.0",
7071
"date-fns": "^4.1.0",
7172
"date-fns-tz": "^3.2.0",
7273
"embla-carousel-react": "^8.3.0",
73-
"franc": "^6.2.0",
7474
"framer-motion": "^12.23.12",
75+
"franc": "^6.2.0",
7576
"idb": "^8.0.3",
7677
"input-otp": "^1.2.4",
7778
"lucide-react": "^0.462.0",

pnpm-lock.yaml

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Analytics } from "@vercel/analytics/react";
12
import { Toaster } from "@/components/ui/toaster";
23
import { Toaster as Sonner } from "@/components/ui/sonner";
34
import { TooltipProvider } from "@/components/ui/tooltip";
@@ -45,6 +46,7 @@ function App() {
4546
</BrowserRouter>
4647
<OfflineIndicator />
4748
</TooltipProvider>
49+
<Analytics />
4850
</HelmetProvider>
4951
);
5052
}

0 commit comments

Comments
 (0)