From 20f26d37846d231ca74b3834b8282f8d497be64d Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Sun, 22 Jan 2017 19:41:13 +0100 Subject: Add redux selectors --- frontend/src/redux/games.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontend/src/redux/games.js') diff --git a/frontend/src/redux/games.js b/frontend/src/redux/games.js index b5fd910e..4115323c 100644 --- a/frontend/src/redux/games.js +++ b/frontend/src/redux/games.js @@ -25,3 +25,5 @@ export default (state = initialState, action) => { return state } } + +export const getAllGames = state => state.get('games') -- cgit