diff --git a/docs/Walkthrough.md b/docs/Walkthrough.md index e5d858a1..402427b2 100644 --- a/docs/Walkthrough.md +++ b/docs/Walkthrough.md @@ -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)); }; ```