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/Search/index.tsx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/components/Search') diff --git a/src/components/Search/index.tsx b/src/components/Search/index.tsx index 16f5c9e..c999f97 100644 --- a/src/components/Search/index.tsx +++ b/src/components/Search/index.tsx @@ -1,5 +1,4 @@ import React from "react"; -import { event } from "react-ga"; import { IoSearch } from "react-icons/io5"; import { searchSong } from "../../helpers"; import { Song } from "../../types/song"; @@ -38,12 +37,6 @@ export function Search({ currentTry, setSelectedSong }: Props) { setSelectedSong(song); setValue(`${song.artist} - ${song.name}`); setResults([]); - - event({ - category: "Player", - action: "Chose song", - label: `${song.artist} - ${song.name}`, - }); }} > -- cgit v1.2.3