From 73ede6097d5fcd871522a87d02a0c5bc9db00464 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 29 Apr 2018 21:10:55 +0200 Subject: Remove default exports everywhere --- frontend/src/models/players.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/models/players.js') 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 }); -- cgit