Skip to content

Commit 44a5346

Browse files
committed
add vercel analytics
1 parent 6c7e54c commit 44a5346

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

frontend/package-lock.json

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

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"@radix-ui/react-tooltip": "^1.2.7",
3333
"@supabase/supabase-js": "^2.74.0",
3434
"@tanstack/react-query": "^5.83.0",
35+
"@vercel/analytics": "^1.6.1",
3536
"class-variance-authority": "^0.7.1",
3637
"clsx": "^2.1.1",
3738
"cmdk": "^1.1.1",

frontend/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import ExampleProjects from "./pages/ExampleProjects";
1010
import NotFound from "./pages/NotFound";
1111
import { GuideView } from "./pages/GuideView";
1212
import { ExampleView } from "./pages/ExampleView";
13+
import { Analytics } from '@vercel/analytics/react';
1314

1415
const queryClient = new QueryClient();
1516

@@ -30,6 +31,7 @@ const App = () => (
3031
<Route path="*" element={<NotFound />} />
3132
</Routes>
3233
</BrowserRouter>
34+
<Analytics />
3335
</div>
3436
</TooltipProvider>
3537
</QueryClientProvider>

0 commit comments

Comments
 (0)