From acf641e705fa2d7c140ca100199fe4b3c377dbe4 Mon Sep 17 00:00:00 2001 From: Brendan F Date: Mon, 19 Feb 2024 16:24:48 -0800 Subject: Revert "Add Christmas emotes" This reverts commit dde27e13fb9b538b5cd1d1235dbc9efcf8a6a773. --- src/components/Result/index.tsx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/components/Result') diff --git a/src/components/Result/index.tsx b/src/components/Result/index.tsx index ccf393d..259525b 100644 --- a/src/components/Result/index.tsx +++ b/src/components/Result/index.tsx @@ -21,18 +21,11 @@ function Solution({ todaysSolution, currentTry, }: SolutionProps) { - const todaysDate = new Date(); - const christmasSongDay = todaysDate.getFullYear() == 2023 && todaysDate.getMonth() == 11 && todaysDate.getDate() >= 1 && todaysDate.getDate() <= 25 - const gifs = ["923701894117982238", "655441669893914664", "919955833264160810"] - const randomGif = gifs[Math.floor(Math.random() * gifs.length)]; return ( <> Today's song is {todaysSolution.artist} - {todaysSolution.name} - {christmasSongDay && - - } {didGuess && You guessed it in {currentTry} {currentTry === 1 ? 'try' : 'tries'}. -- cgit v1.2.3