We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da6b88c commit 7071623Copy full SHA for 7071623
src/pages/analysis/[...id].tsx
@@ -420,14 +420,14 @@ const Analysis: React.FC<Props> = ({
420
name={
421
controller.orientation === 'white'
422
? analyzedGame.whitePlayer.name
423
- : analyzedGame.whitePlayer.name
+ : analyzedGame.blackPlayer.name
424
}
425
rating={
426
427
? analyzedGame.whitePlayer.rating
428
- : analyzedGame.whitePlayer.rating
+ : analyzedGame.blackPlayer.rating
429
430
- color={controller.orientation === 'white' ? 'black' : 'white'}
+ color={controller.orientation === 'white' ? 'white' : 'black'}
431
termination={analyzedGame.termination.winner}
432
/>
433
</div>
0 commit comments