Skip to content

Commit 04e460d

Browse files
committed
chore: migrate redux-thunk to v4
1 parent 6c9e42c commit 04e460d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

admin/src/helpers/configureStore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createStore, applyMiddleware, compose } from 'redux';
2-
import thunkMiddleware from 'redux-thunk';
2+
import { thunk } from 'redux-thunk';
33
import { Map } from 'immutable';
44

55
import rootReducer from '../state/reducers';
@@ -10,7 +10,7 @@ const configureStore = () => {
1010

1111
const enhancers = [];
1212
const middlewares = [
13-
thunkMiddleware,
13+
thunk,
1414
];
1515

1616
let devtools;

0 commit comments

Comments
 (0)