diff --git a/README.md b/README.md index e986979..87a557d 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Store.dispatchToken = Dispatcher.register(function (payload) { case ActionConstants.RECEIVE_CATEGORIES: // Callback to handle the response from the action. - setCategories(); + setCategories(payload.categories); break; default: @@ -192,4 +192,4 @@ $ npm start Point your browser to http://localhost:5000 -Checkout the package.json file for the npm scripts. \ No newline at end of file +Checkout the package.json file for the npm scripts.