Correctly inform player whether they won
This commit is contained in:
parent
a3146f055f
commit
8a47729bcc
@ -90,7 +90,7 @@ export default function Game(props: GameProps): JSX.Element {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<div>
|
||||||
{maybeIsGameWinner ? "You Lose!" : "You Win!"}
|
{maybeIsGameWinner ? "You Win!" : "You Lose!"}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="player-info">
|
<div className="player-info">
|
||||||
|
Loading…
Reference in New Issue
Block a user