From 2d2ccfa0433a8a09c1930746a4efed11be669e66 Mon Sep 17 00:00:00 2001
From: notV4l <122404722+notV4l@users.noreply.github.com>
Date: Thu, 21 Sep 2023 22:59:39 +0200
Subject: [PATCH] fix: analytics (#176)
---
web/package.json | 2 -
web/src/pages/_app.tsx | 2 +
web/src/pages/_document.tsx | 2 -
web/yarn.lock | 97 +------------------------------------
4 files changed, 3 insertions(+), 100 deletions(-)
diff --git a/web/package.json b/web/package.json
index ec5d1c71e..1cc096b3e 100644
--- a/web/package.json
+++ b/web/package.json
@@ -47,8 +47,6 @@
"@types/node": "18.15.3",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
- "eslint-import-resolver-typescript": "^3.6.0",
- "eslint-plugin-import": "^2.28.1",
"prettier": "^2.8.8",
"typescript": "^4.8.4"
}
diff --git a/web/src/pages/_app.tsx b/web/src/pages/_app.tsx
index 3f6ad78d4..8a0cb93a3 100644
--- a/web/src/pages/_app.tsx
+++ b/web/src/pages/_app.tsx
@@ -10,6 +10,7 @@ import MakeItRain from "@/components/MakeItRain";
import { useEffect } from "react";
import { DojoProvider } from "@/dojo";
import { QueryClient, QueryClientProvider } from "react-query";
+import { Analytics } from '@vercel/analytics/react';
const queryClient = new QueryClient({
defaultOptions: {
@@ -47,6 +48,7 @@ export default function App({ Component, pageProps }: AppProps) {
{isRightSequence &&