redux-thunk dispatch method fires undefined action redux-thunk dispatch method fires undefined action reactjs reactjs

redux-thunk dispatch method fires undefined action


The order of middlewares matters. Try making logger last

const store = createStore(reducer, applyMiddleware(thunk, logger))