Update Walkthrough.md

Do we need to compose here?
This commit is contained in:
Adam Lancaster 2017-05-22 10:26:27 +01:00 committed by GitHub
parent 33c6f314d8
commit b8cdf22d28

View File

@ -180,7 +180,7 @@ const enhancer = applyMiddleware(p1, p2, p3);
export default function configureStore(initialState) {
// Note: only Redux >= 3.1.0 supports passing enhancer as third argument.
// See https://github.com/rackt/redux/releases/tag/v3.1.0
return createStore(rootReducer, initialState, enhancer);
return createStore(compose(rootReducer, initialState, enhancer));
};
```