diff options
Diffstat (limited to 'frontend/src/components/playerList.js')
-rw-r--r-- | frontend/src/components/playerList.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/components/playerList.js b/frontend/src/components/playerList.js index 4ddbe056..cc247668 100644 --- a/frontend/src/components/playerList.js +++ b/frontend/src/components/playerList.js @@ -2,7 +2,7 @@ import React from 'react'; import { Text } from 'rebass'; import { Flex } from 'reflexbox'; -const PlayerList = ({ players }) => ( +export const PlayerList = ({ players }) => ( <div> {players.map(player => { return ( @@ -14,5 +14,3 @@ const PlayerList = ({ players }) => ( })} </div> ); - -export default PlayerList; |