diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-04-29 21:10:55 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-04-29 21:51:10 +0200 |
commit | 73ede6097d5fcd871522a87d02a0c5bc9db00464 (patch) | |
tree | 67cf69bcdd3556f73aaa419ac9a367a6fcb0b000 /frontend/src/components/playerList.js | |
parent | Cleanup index.js files (diff) | |
download | seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.gz seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.bz2 seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.zip |
Remove default exports everywhere
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; |