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/gameList.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/gameList.js')
-rw-r--r-- | frontend/src/components/gameList.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/components/gameList.js b/frontend/src/components/gameList.js index 0a478b96..0b4091a7 100644 --- a/frontend/src/components/gameList.js +++ b/frontend/src/components/gameList.js @@ -5,7 +5,7 @@ import { Button, Space, Text } from 'rebass'; import { Flex } from 'reflexbox'; import type { Game } from '../models/games'; -const GameList = ({ games, joinGame }: { games: List<Game>, joinGame: (gameId: string) => void }) => ( +export const GameList = ({ games, joinGame }: { games: List<Game>, joinGame: (gameId: string) => void }) => ( <div> {games.map((game: Game, index: number) => { return ( @@ -18,5 +18,3 @@ const GameList = ({ games, joinGame }: { games: List<Game>, joinGame: (gameId: s })} </div> ); - -export default GameList; |