Skip to content

Commit

Permalink
feat: add @vercel/analytics package
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrabmp committed Dec 24, 2023
1 parent dfbb495 commit 274e763
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@radix-ui/react-tooltip": "^1.0.7",
"@t3-oss/env-nextjs": "^0.7.1",
"@upstash/redis": "^1.27.1",
"@vercel/analytics": "^1.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"dotenv": "^16.3.1",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

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

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 "~/styles/globals.css";

import { Analytics } from "@vercel/analytics/react";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";

Expand Down Expand Up @@ -30,6 +31,7 @@ export default function RootLayout({
<Footer />
<Toaster />
</Providers>
<Analytics />
</body>
</html>
);
Expand Down

1 comment on commit 274e763

@vercel
Copy link

@vercel vercel bot commented on 274e763 Dec 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cut-it – ./

cut-it-mehrabmp.vercel.app
cutit.vercel.app
cut-it-git-main-mehrabmp.vercel.app

Please sign in to comment.