aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-13 12:20:47 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-13 12:20:47 +0100
commitc5cf5b432aa49df55de8a58c176dae3eb0923754 (patch)
treed643ff200b29599ef8c271420df82927cb6bb83a /components
parent056b77e82c72136170084ef0addba013eae22c9d (diff)
friend status + recentgames key prop
Diffstat (limited to 'components')
-rw-r--r--components/recentGames.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/recentGames.tsx b/components/recentGames.tsx
index 13bb87c..150520c 100644
--- a/components/recentGames.tsx
+++ b/components/recentGames.tsx
@@ -52,7 +52,7 @@ export default function RecentGames(props: { games?: Array<gameInfo> }) {
<th style={{ width: "20%" }}>Datum</th>
</tr>
{
- props.games?.map(game => <tr>
+ props.games?.map(game => <tr key={game.id}>
<td style={LeftAlignedTableColumn}>
<a href={"/user?id=" + game.opponent?.id} style={{
fontWeight: 500