summaryrefslogtreecommitdiff
path: root/frontend/src/components/gameList.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/gameList.js')
-rw-r--r--frontend/src/components/gameList.js4
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;
bgstack15