diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-10 16:06:42 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-10 16:06:42 +0100 |
commit | 6fbf48dcd658db76d6ccd375ac9e8b0f5123df18 (patch) | |
tree | b1ab5050adbfb73c06af51cc884a2703747a5951 /components | |
parent | 91e284d685dab7525c9526be1cb264a7a9c65c5c (diff) |
/user/games opponent user_format + oppponent fix
Diffstat (limited to 'components')
-rw-r--r-- | components/recentGames.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/recentGames.tsx b/components/recentGames.tsx index 9e87b61..750a9e7 100644 --- a/components/recentGames.tsx +++ b/components/recentGames.tsx @@ -43,7 +43,7 @@ export default function RecentGames(props: { games?: Array<gameInfo> }) { </tr> { props.games?.map(game => <tr> - <td style={LeftAlignedTableColumn}>{game.opponent}</td> + <td style={LeftAlignedTableColumn}>{game.opponent.username}</td> <GameOutcome outcome={game.outcome}/> <td>{game.moves.length -1}</td> <td style={RightAlignedTableColumn}>{(() => { |