diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 23:06:09 -0700 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2023-06-25 23:09:31 -0700 |
| commit | 4f0676249a2d3b00a8ffd68b07e19d7baef832df (patch) | |
| tree | acd0cceaf384c81c55fad3295c655d9c9d99aa63 /src/app.tsx | |
| parent | 91180344b1b58cb0cb657f63f7621f8fda959608 (diff) | |
Remove unused Google analytics hooks
Diffstat (limited to 'src/app.tsx')
| -rw-r--r-- | src/app.tsx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/app.tsx b/src/app.tsx index d7f5917..ac8765f 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,5 +1,3 @@ -import { event } from "react-ga"; - import React from "react"; import _ from "lodash"; @@ -100,11 +98,6 @@ function App() { }); setCurrentTry((currentTry) => currentTry + 1); - - event({ - category: "Game", - action: "Skip", - }); }, [currentTry]); const guess = React.useCallback(() => { @@ -132,13 +125,6 @@ function App() { if (isCorrect) { setDidGuess(true); } - - event({ - category: "Game", - action: "Guess", - label: `${selectedSong.artist} - ${selectedSong.name}`, - value: isCorrect ? 1 : 0, - }); }, [guesses, selectedSong]); return ( |
