From b8cdf22d28c2cccc734609780d47766dc8950768 Mon Sep 17 00:00:00 2001 From: Adam Lancaster Date: Mon, 22 May 2017 10:26:27 +0100 Subject: [PATCH] Update Walkthrough.md Do we need to compose here? --- docs/Walkthrough.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }; ```