summaryrefslogtreecommitdiff
path: root/frontend/src/redux/games.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-01-22 19:41:13 +0100
committerVictor Chabbert <chabbertvi@eisti.eu>2017-01-22 19:41:13 +0100
commit20f26d37846d231ca74b3834b8282f8d497be64d (patch)
treec2c0978707def2f9363b6da16cf29eb1930cf87d /frontend/src/redux/games.js
parentMade redux store fully immutable (diff)
downloadseven-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.js2
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')
bgstack15