We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 895a86c commit 1edd357Copy full SHA for 1edd357
1 file changed
src/web/react/components/othello/index.tsx
@@ -58,7 +58,7 @@ const BoardWrapper = memo(({ states, game }: { states: GameState[]; game: GameMo
58
const winCtx = game.winCtx;
59
const subHeading = winCtx
60
? winCtx.type === 'win'
61
- ? `${winCtx.winner} won against ${winCtx.loser}.`
+ ? `${winCtx.winner.name} won against ${winCtx.loser.name}.`
62
: winCtx.type === 'draw'
63
? `The game ended in a draw.`
64
: winCtx.type === 'force'
0 commit comments