Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from corysmc/fix-readme
Browse files Browse the repository at this point in the history
Update order of middleware
  • Loading branch information
mlynch authored Jul 18, 2018
2 parents 913ca03 + e0a88f3 commit 95b9c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import logger from 'redux-logger'; // Add-on you might want
import rootReducer from '../reducers/index';

const configureStore = (preloadedState: any) =>
createStore(rootReducer, preloadedState, applyMiddleware(logger, thunk));
createStore(rootReducer, preloadedState, applyMiddleware(thunk, logger));

export { configureStore };
```
Expand Down

0 comments on commit 95b9c78

Please sign in to comment.