From 7e2465f0e87f7c0a4a2fc5f7653740724b6966da Mon Sep 17 00:00:00 2001 From: Elie Teyssedou Date: Mon, 23 Jan 2017 19:45:41 +0100 Subject: [PATCH] Add return in app.js example in Readme It won't works without that return. If it was about the ES6 syntax, the function should not be declared as this. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff5f312b..72975010 100644 --- a/README.md +++ b/README.md @@ -535,7 +535,7 @@ const store = compose( // url of the current request. also be sure to set `isServer` to true. export function renderApp({cookies, isServer, currentLocation} = {}) { // configure redux-auth BEFORE rendering the page - store.dispatch(configure( + return store.dispatch(configure( // use the FULL PATH to your API {apiUrl: "http://api.catfancy.com"}, {isServer, cookies, currentLocation}