diff options
Diffstat (limited to 'frontend/src/models/games.js')
-rw-r--r-- | frontend/src/models/games.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/models/games.js b/frontend/src/models/games.js index dd660d45..6420e06d 100644 --- a/frontend/src/models/games.js +++ b/frontend/src/models/games.js @@ -64,7 +64,7 @@ const GamesRecord: GamesType = Record({ all: new Map(), current: null, }); -export default class GamesState extends GamesRecord { +export class GamesState extends GamesRecord { addGame(g: GameShape) { const game: Game = new Game(g); return this.mergeDeepIn(['all', game.id], game); |