show input if there is match

This commit is contained in:
leander committed 2025-06-20 22:50:42 +02:00
1 parent 35c970e5f2
commit 09e20d9731
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ const GuessesList: React.FC<GuessesListProps> = ({ matches }) => (
: "border-1 border-red-600 bg-red-100 text-red-600"
} rounded-xl p-4 text-center`}
>
<p className="text-lg font-bold">{match.name}</p>
<p className="text-lg font-bold">{match.name ?? match.input}</p>
<p className="text-sm font-extralight">{match.description}</p>
</li>
))}