diff options
Diffstat (limited to 'frontend/src/redux/games.js')
-rw-r--r-- | frontend/src/redux/games.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/redux/games.js b/frontend/src/redux/games.js index c6c13504..ee8b13df 100644 --- a/frontend/src/redux/games.js +++ b/frontend/src/redux/games.js @@ -51,4 +51,4 @@ export const gamesReducer = (state: GamesState = new GamesState(), action: Games export const getAllGamesById = (games: GamesState): Map<string, Game> => games.all; export const getAllGames = (games: GamesState): List<Game> => getAllGamesById(games).toList(); export const getGame = (games: GamesState, id: string | number): Game => getAllGamesById(games).get(`${id}`); -export const getCurrentGame = (games: GamesState) => getGame(games, games.current); +export const getCurrentGame = (games: GamesState): Game => getGame(games, games.current); |