fix: keep empty revealed cells uncolored
This commit is contained in:
parent
253fdcf040
commit
ecd716204d
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ export default function GameRow({ actorName, pos, colStart, totalWidth, hintType
|
|||
const correctLetter = ch.toUpperCase();
|
||||
const revealState = !revealed || isMainActorCell
|
||||
? null
|
||||
: attemptedLetter === ''
|
||||
? null
|
||||
: attemptedLetter === correctLetter
|
||||
? 'correct'
|
||||
: 'wrong';
|
||||
|
|
|
|||
Loading…
Reference in a new issue