aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Search
diff options
context:
space:
mode:
authorBrendan F <EpicWolverine@users.noreply.github.com>2023-06-25 23:06:09 -0700
committerBrendan F <EpicWolverine@users.noreply.github.com>2023-06-25 23:09:31 -0700
commit4f0676249a2d3b00a8ffd68b07e19d7baef832df (patch)
treeacd0cceaf384c81c55fad3295c655d9c9d99aa63 /src/components/Search
parent91180344b1b58cb0cb657f63f7621f8fda959608 (diff)
Remove unused Google analytics hooks
Diffstat (limited to 'src/components/Search')
-rw-r--r--src/components/Search/index.tsx7
1 files changed, 0 insertions, 7 deletions
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}`,
- });
}}
>
<Styled.ResultText>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage