summaryrefslogtreecommitdiff
path: root/frontend/src/components/playerList.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-06-09 13:56:53 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-06-09 13:56:59 +0200
commit4c3c8f557a153552510f498d7d9755350982a7b2 (patch)
tree1bd75eac90edcab5d61804b2811d3993d8b36fa6 /frontend/src/components/playerList.js
parentSplit GameBrowser into multiple connected components (diff)
downloadseven-wonders-4c3c8f557a153552510f498d7d9755350982a7b2.tar.gz
seven-wonders-4c3c8f557a153552510f498d7d9755350982a7b2.tar.bz2
seven-wonders-4c3c8f557a153552510f498d7d9755350982a7b2.zip
Refactor PlayerList
Diffstat (limited to 'frontend/src/components/playerList.js')
-rw-r--r--frontend/src/components/playerList.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/frontend/src/components/playerList.js b/frontend/src/components/playerList.js
deleted file mode 100644
index bbdbc83b..00000000
--- a/frontend/src/components/playerList.js
+++ /dev/null
@@ -1,23 +0,0 @@
-//@flow
-import { Text } from '@blueprintjs/core';
-import { List } from 'immutable';
-import React from 'react';
-import { Flex } from 'reflexbox';
-import { Player } from '../models/players';
-
-export type PlayerListProps = {
- players: List<Player>;
-};
-
-export const PlayerList = ({ players }: PlayerListProps) => (
- <div>
- {players.map(player => {
- return (
- <Flex key={player.index}>
- <Text>{player.displayName}</Text>
- <Text>({player.username})</Text>
- </Flex>
- );
- })}
- </div>
-);
bgstack15