diff options
Diffstat (limited to 'frontend/src/containers/gameBrowser.js')
-rw-r--r-- | frontend/src/containers/gameBrowser.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/containers/gameBrowser.js b/frontend/src/containers/gameBrowser.js index 643dbebc..ac3f1504 100644 --- a/frontend/src/containers/gameBrowser.js +++ b/frontend/src/containers/gameBrowser.js @@ -41,8 +41,8 @@ class GameBrowser extends Component { } const mapStateToProps = state => ({ - currentPlayer: getCurrentPlayer(state) || { displayName: '[ERROR]' }, - games: getAllGames(state), + currentPlayer: getCurrentPlayer(state.get('players')), + games: getAllGames(state.get('games')), }); const mapDispatchToProps = { |