From 4c13817e773651e4096732fe6d60a3dd202b70a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6rdle=20Bot?= Date: Tue, 25 Nov 2025 00:29:31 +0100 Subject: [PATCH] feat: conditionally display 'Special' or 'Genre' for the genre text based on `isSpecial` flag --- components/Game.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Game.tsx b/components/Game.tsx index f932d9a..7aec342 100644 --- a/components/Game.tsx +++ b/components/Game.tsx @@ -174,7 +174,7 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max const speaker = hasWon ? '🔉' : '🔇'; const bonusStar = (hasWon && gameState.yearGuessed && dailyPuzzle.releaseYear && gameState.scoreBreakdown.some(item => item.reason === 'Bonus: Correct Year')) ? '⭐' : ''; - const genreText = genre ? `Genre: ${genre}\n` : ''; + const genreText = genre ? `${isSpecial ? 'Special' : 'Genre'}: ${genre}\n` : ''; let shareUrl = 'https://hoerdle.elpatron.me'; if (genre) {