summaryrefslogtreecommitdiff
path: root/frontend/src/reducers.js
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2017-05-19 20:17:35 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-20 00:12:39 +0200
commita13f913c6a594a14a2cb9ab42dbd0493372583fb (patch)
tree2ac200b06532b7be09b0192a4455ab132cd5010b /frontend/src/reducers.js
parentSet versions of packages to latest (diff)
downloadseven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.gz
seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.bz2
seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.zip
Add error toasts
Diffstat (limited to 'frontend/src/reducers.js')
-rw-r--r--frontend/src/reducers.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/reducers.js b/frontend/src/reducers.js
index 7e5fba26..f5063ac1 100644
--- a/frontend/src/reducers.js
+++ b/frontend/src/reducers.js
@@ -1,4 +1,5 @@
import { combineReducers, routerReducer } from 'redux-seamless-immutable'
+import { reducer as toastrReducer } from 'react-redux-toastr'
import errorsReducer from './redux/errors'
import gamesReducer from './redux/games'
@@ -10,5 +11,6 @@ export default function createReducer() {
games: gamesReducer,
players: playersReducer,
routing: routerReducer,
+ toastr: toastrReducer
})
}
bgstack15