aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Result/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Result/index.tsx')
-rw-r--r--src/components/Result/index.tsx7
1 files changed, 0 insertions, 7 deletions
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 (
<>
<Styled.SongTitle>
Today&apos;s song is {todaysSolution.artist} - {todaysSolution.name}
</Styled.SongTitle>
- {christmasSongDay &&
- <img src={"https://cdn.discordapp.com/emojis/" + randomGif + ".gif?size=44&amp;quality=lossless"}></img>
- }
{didGuess &&
<Styled.Tries>
You guessed it in {currentTry} {currentTry === 1 ? 'try' : 'tries'}.
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage