Skip to content

Commit

Permalink
πŸš£πŸ½β€β™€οΈβ³ ↝ [SGV2-3]: Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Apr 24, 2024
1 parent 1f60a02 commit 0b9b81c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@types/rc-tooltip": "^3.7.7",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^18.2.6",
"@vercel/analytics": "^1.2.2",
"autoprefixer": "^10.4.13",
"axios": "^1.6.2",
"bootstrap": "^5.3.2",
Expand Down
2 changes: 2 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import React, { useState } from 'react';
import { AppProps } from 'next/app';
import Head from 'next/head';
import { Analytics } from "@vercel/analytics/react"

// Styling imports
import '../styles/globals.css';
Expand Down Expand Up @@ -61,6 +62,7 @@ function MyApp({ Component, pageProps }) {
initialSession={pageProps.initialSession}
>
<Component {...pageProps} />
<Analytics />
</SessionContextProvider>
</>
);
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2907,6 +2907,13 @@
dependencies:
"@use-gesture/core" "10.3.1"

"@vercel/analytics@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.2.2.tgz#715d8f203a170c06ba36b363e03b048c03060d5d"
integrity sha512-X0rctVWkQV1e5Y300ehVNqpOfSOufo7ieA5PIdna8yX/U7Vjz0GFsGf4qvAhxV02uQ2CVt7GYcrFfddXXK2Y4A==
dependencies:
server-only "^0.0.1"

abbrev@1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
Expand Down Expand Up @@ -8123,6 +8130,11 @@ serialize-javascript@^6.0.1:
dependencies:
randombytes "^2.1.0"

server-only@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e"
integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==

set-blocking@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
Expand Down

0 comments on commit 0b9b81c

Please sign in to comment.