We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9e42c commit 04e460dCopy full SHA for 04e460d
1 file changed
admin/src/helpers/configureStore.js
@@ -1,5 +1,5 @@
1
import { createStore, applyMiddleware, compose } from 'redux';
2
-import thunkMiddleware from 'redux-thunk';
+import { thunk } from 'redux-thunk';
3
import { Map } from 'immutable';
4
5
import rootReducer from '../state/reducers';
@@ -10,7 +10,7 @@ const configureStore = () => {
10
11
const enhancers = [];
12
const middlewares = [
13
- thunkMiddleware,
+ thunk,
14
];
15
16
let devtools;
0 commit comments