Skip to content

Commit

Permalink
Merge pull request #2 from codemeasandwich/uitesting
Browse files Browse the repository at this point in the history
v1.5.1 - fix to chaining: wrongly setting a undefined as payload
  • Loading branch information
codemeasandwich committed Jun 16, 2017
2 parents 20e538e + 01b1c4f commit fb44759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ function mergeReducers(otherReducers){


actionsBuilder[reducerName] = actionsBuilder[reducerName] || {};
actionsBuilder[reducerName][actionName] = function (payload){
actionsBuilder[reducerName][actionName](payload)
};
actionsBuilder[reducerName][actionName] = (...args) => actionsBuilder[reducerName][actionName](...args);
})
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-auto",
"version": "1.5.0",
"version": "1.5.1",
"description": "automatically generate stories and actions from your folder and file structure",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fb44759

Please sign in to comment.