summaryrefslogtreecommitdiff
path: root/frontend/src/models/players.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-04-29 21:10:55 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-04-29 21:51:10 +0200
commit73ede6097d5fcd871522a87d02a0c5bc9db00464 (patch)
tree67cf69bcdd3556f73aaa419ac9a367a6fcb0b000 /frontend/src/models/players.js
parentCleanup index.js files (diff)
downloadseven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.gz
seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.tar.bz2
seven-wonders-73ede6097d5fcd871522a87d02a0c5bc9db00464.zip
Remove default exports everywhere
Diffstat (limited to 'frontend/src/models/players.js')
-rw-r--r--frontend/src/models/players.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/models/players.js b/frontend/src/models/players.js
index 8fb17128..2af6b0f7 100644
--- a/frontend/src/models/players.js
+++ b/frontend/src/models/players.js
@@ -29,7 +29,7 @@ const PlayersRecord: PlayersType = Record({
current: '',
});
// $FlowFixMe
-export default class PlayerState extends PlayersRecord {
+export class PlayerState extends PlayersRecord {
addPlayer(p: PlayerShape) {
const player: Player = new Player(p);
const playerMap = Map({ [player.username]: player });
bgstack15