diff --git a/Readme.md b/Readme.md index 1c8639f..a1c8f5c 100644 --- a/Readme.md +++ b/Readme.md @@ -70,7 +70,7 @@ const loadStore = () => { } const storeCreator = applyMiddleware(asyncInitialState.middleware(loadStore)); -const store = storeCreator(reducer); +const store = storeCreator(createStore)(reducer); ``` ## Reducer