diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 19:41:13 +0100 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 19:41:13 +0100 |
commit | 20f26d37846d231ca74b3834b8282f8d497be64d (patch) | |
tree | c2c0978707def2f9363b6da16cf29eb1930cf87d /frontend/src/redux/games.js | |
parent | Made redux store fully immutable (diff) | |
download | seven-wonders-20f26d37846d231ca74b3834b8282f8d497be64d.tar.gz seven-wonders-20f26d37846d231ca74b3834b8282f8d497be64d.tar.bz2 seven-wonders-20f26d37846d231ca74b3834b8282f8d497be64d.zip |
Add redux selectors
Diffstat (limited to 'frontend/src/redux/games.js')
-rw-r--r-- | frontend/src/redux/games.js | 2 |
1 files changed, 2 insertions, 0 deletions
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') |