From b6f54ed56121aa5435dd813c952b292b25b56bfb Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 14 May 2017 18:43:58 +0200 Subject: Add lobby saga - Fix lobby's player list updates - Fix lobby's player list order - Add 'start game' button (not restricted to owner yet) Resolves: https://github.com/luxons/seven-wonders/issues/7 --- frontend/src/components/playerList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/components/playerList.js') 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) => (
- {Immutable.asMutable(props.players).map((player, index) => { - return ( + {Immutable.asMutable(props.players).map(player => { + return ( {player.displayName} ({player.username}) ) -- cgit