Skip to content

Commit 1edd357

Browse files
committed
chore: Fix names on Othello replays
1 parent 895a86c commit 1edd357

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web/react/components/othello/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const BoardWrapper = memo(({ states, game }: { states: GameState[]; game: GameMo
5858
const winCtx = game.winCtx;
5959
const subHeading = winCtx
6060
? winCtx.type === 'win'
61-
? `${winCtx.winner} won against ${winCtx.loser}.`
61+
? `${winCtx.winner.name} won against ${winCtx.loser.name}.`
6262
: winCtx.type === 'draw'
6363
? `The game ended in a draw.`
6464
: winCtx.type === 'force'

0 commit comments

Comments
 (0)