chore: migrate redux-thunk to v4
parent
6c9e42cd02
commit
04e460d953
|
|
@ -1,5 +1,5 @@
|
|||
import { createStore, applyMiddleware, compose } from 'redux';
|
||||
import thunkMiddleware from 'redux-thunk';
|
||||
import { thunk } from 'redux-thunk';
|
||||
import { Map } from 'immutable';
|
||||
|
||||
import rootReducer from '../state/reducers';
|
||||
|
|
@ -10,7 +10,7 @@ const configureStore = () => {
|
|||
|
||||
const enhancers = [];
|
||||
const middlewares = [
|
||||
thunkMiddleware,
|
||||
thunk,
|
||||
];
|
||||
|
||||
let devtools;
|
||||
|
|
|
|||
Loading…
Reference in New Issue