Skip to content

Commit

Permalink
adding vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
rituraj12797 committed Mar 26, 2024
1 parent 6600d50 commit 0639702
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
26 changes: 26 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@reduxjs/toolkit": "^2.1.0",
"@tanstack/react-table": "^8.11.8",
"@vee-validate/zod": "^4.12.6",
"@vercel/analytics": "^1.2.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"hamburger-react": "^2.5.0",
Expand Down
3 changes: 2 additions & 1 deletion src/layouts/Wrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Navbar from "../components/Navbar";
import { Outlet } from "react-router-dom";

import { Analytics } from "@vercel/analytics/react"
import { Toaster } from "@/components/ui/toaster"
import './Wrapper.css'
function Wrapper() {
Expand All @@ -9,6 +9,7 @@ function Wrapper() {
<Navbar></Navbar>
<Outlet/>
<Toaster />
<Analytics />
</div>
);
}
Expand Down

0 comments on commit 0639702

Please sign in to comment.