aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/react/index.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/react/index.jsx b/src/client/react/index.jsx
index f0e4e23..5279bf4 100644
--- a/src/client/react/index.jsx
+++ b/src/client/react/index.jsx
@@ -4,6 +4,7 @@ import { Provider } from 'react-redux';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import { createStore, applyMiddleware, compose } from 'redux';
import logger from 'redux-logger';
+import thunk from 'redux-thunk';
import reducer from './reducers';
import LandingPage from './LandingPage';
@@ -11,7 +12,7 @@ import LandingPage from './LandingPage';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(
reducer,
- composeEnhancers(applyMiddleware(logger)),
+ composeEnhancers(applyMiddleware(logger, thunk)),
);
ReactDOM.render(