summaryrefslogtreecommitdiff
path: root/frontend/src/reducers.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-06-09 18:17:00 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-06-09 18:17:00 +0200
commit41aef177ca458be9e83ffc9f3436299dcbc9845e (patch)
tree9e3603c3adb08007f77f78228e0a00993dde38d3 /frontend/src/reducers.js
parentFix home screen style (diff)
downloadseven-wonders-41aef177ca458be9e83ffc9f3436299dcbc9845e.tar.gz
seven-wonders-41aef177ca458be9e83ffc9f3436299dcbc9845e.tar.bz2
seven-wonders-41aef177ca458be9e83ffc9f3436299dcbc9845e.zip
Use blueprint for error toasts instead of react-redux-toaster
Error toasts were broken. Since blueprintjs already provides a toasting feature, we don't need the extra dependency. What we lose here is the redux-managed state of toasts, which might lead me to switch back later on. For now, these are quite fine.
Diffstat (limited to 'frontend/src/reducers.js')
-rw-r--r--frontend/src/reducers.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/frontend/src/reducers.js b/frontend/src/reducers.js
index 97c5259e..85f7e3c1 100644
--- a/frontend/src/reducers.js
+++ b/frontend/src/reducers.js
@@ -1,5 +1,4 @@
// @flow
-import { reducer as toastrReducer } from 'react-redux-toastr';
import { routerReducer } from 'react-router-redux';
import { combineReducers } from 'redux-immutable';
import { gamesReducer } from './redux/games';
@@ -10,6 +9,5 @@ export function createReducer() {
games: gamesReducer,
players: playersReducer,
routing: routerReducer,
- toastr: toastrReducer,
});
}
bgstack15