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/components/Player | |
| parent | 91180344b1b58cb0cb657f63f7621f8fda959608 (diff) | |
Remove unused Google analytics hooks
Diffstat (limited to 'src/components/Player')
| -rw-r--r-- | src/components/Player/index.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/Player/index.tsx b/src/components/Player/index.tsx index 82f600e..9e3d819 100644 --- a/src/components/Player/index.tsx +++ b/src/components/Player/index.tsx @@ -1,7 +1,6 @@ import React from "react"; import YouTube from "react-youtube"; import { IoPlay } from "react-icons/io5"; -import { event } from "react-ga"; import { playTimes } from "../../constants"; @@ -54,10 +53,6 @@ export function Player({ id, currentTry }: Props) { const startPlayback = React.useCallback(() => { playerRef.current?.internalPlayer.playVideo(); setPlay(true); - event({ - category: "Player", - action: "Played song", - }); }, []); const setReady = React.useCallback(() => { |
