aboutsummaryrefslogtreecommitdiff
path: root/components/recentGames.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/recentGames.tsx')
-rw-r--r--components/recentGames.tsx2
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}>{(() => {