diff --git a/package.json b/package.json index 224e890..b3d6379 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^13.0.0", "@testing-library/user-event": "^13.2.1", + "@vercel/analytics": "^1.2.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.22.3", diff --git a/src/App.js b/src/App.js index cba860e..b352206 100644 --- a/src/App.js +++ b/src/App.js @@ -3,6 +3,7 @@ import { Box, Container } from '@mui/material'; import { Outlet } from 'react-router-dom'; import Header from './Components/Header'; import Footer from './Components/Footer'; +import { Analytics } from "@vercel/analytics/react" // TODO: // - Leaderboard past #25 (pagination) @@ -22,6 +23,7 @@ function App() {