Correctly inform player whether they won

This commit is contained in:
snen 2021-10-07 03:25:03 -04:00
parent a3146f055f
commit 8a47729bcc

View File

@ -90,7 +90,7 @@ export default function Game(props: GameProps): JSX.Element {
</div>
) : (
<div>
{maybeIsGameWinner ? "You Lose!" : "You Win!"}
{maybeIsGameWinner ? "You Win!" : "You Lose!"}
</div>
)}
<div className="player-info">