about summary refs log tree commit diff
path: root/app/assets/javascripts/components/store
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-08-25 19:52:55 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-08-25 19:52:55 +0200
commit44e57f64dd8b00900c31d7fd56fda94f4e69e986 (patch)
tree346179141ed8710b4593a36f0b6524589ab884cd /app/assets/javascripts/components/store
parentf5e1127894e74f21a774569bf6afc1e87a84fa2f (diff)
Improving statuses, adding a composer drawer, which doesn't work yet
Diffstat (limited to 'app/assets/javascripts/components/store')
-rw-r--r--app/assets/javascripts/components/store/configureStore.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/components/store/configureStore.jsx b/app/assets/javascripts/components/store/configureStore.jsx
index bb5d664d0..9ff28bb42 100644
--- a/app/assets/javascripts/components/store/configureStore.jsx
+++ b/app/assets/javascripts/components/store/configureStore.jsx
@@ -1,6 +1,7 @@
-import { createStore } from 'redux';
+import { createStore, applyMiddleware } from 'redux';
+import thunk from 'redux-thunk';
 import appReducer from '../reducers';
 
-export default function configureStore(initialState) {
-  return createStore(appReducer, initialState);
+export default function configureStore() {
+  return createStore(appReducer, applyMiddleware(thunk));
 }