diff options
Diffstat (limited to 'frontend/src/components')
-rw-r--r-- | frontend/src/components/playerList.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/playerList.js b/frontend/src/components/playerList.js index 45aa01a2..70e8b1f6 100644 --- a/frontend/src/components/playerList.js +++ b/frontend/src/components/playerList.js @@ -5,8 +5,8 @@ import Immutable from 'seamless-immutable' const PlayerList = (props) => ( <div> - {Immutable.asMutable(props.players).map((player, index) => { - return (<Flex key={index}> + {Immutable.asMutable(props.players).map(player => { + return (<Flex key={player.index}> <Text>{player.displayName}</Text> <Text>({player.username})</Text> </Flex>) |