summaryrefslogtreecommitdiff
path: root/frontend/src/components/playerList.js
diff options
context:
space:
mode:
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