Skip to content

Commit 7f0f49f

Browse files
committed
Adds the Analytics
1 parent c25bd06 commit 7f0f49f

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@radix-ui/react-switch": "^1.2.6",
2525
"@t3-oss/env-core": "^0.13.10",
2626
"@types/mapbox-gl": "^3.4.1",
27+
"@vercel/analytics": "^1.6.1",
2728
"class-variance-authority": "^0.7.1",
2829
"clsx": "^2.1.1",
2930
"convex": "^1.31.7",

apps/web/src/main.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import "./index.css";
22
import { MentraAuthProvider } from "@mentra/react";
3+
import { Analytics } from "@vercel/analytics/react";
34
import { StrictMode } from "react";
45
import { createRoot } from "react-dom/client";
6+
57
import { App } from "./App";
68

79
const rootElement = document.getElementById("root");
@@ -13,6 +15,7 @@ createRoot(rootElement).render(
1315
<StrictMode>
1416
<MentraAuthProvider>
1517
<App />
18+
<Analytics />
1619
</MentraAuthProvider>
1720
</StrictMode>,
1821
);

bun.lock

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

0 commit comments

Comments
 (0)