From 4f0676249a2d3b00a8ffd68b07e19d7baef832df Mon Sep 17 00:00:00 2001 From: Brendan F Date: Sun, 25 Jun 2023 23:06:09 -0700 Subject: Remove unused Google analytics hooks --- src/components/Player/index.tsx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/components/Player/index.tsx') 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(() => { -- cgit v1.2.3