Guest User

Untitled

a guest
Apr 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. export const actionCreatorGenerator = (name, actionCreators, params) =>
  2. Object.keys(actionCreators).reduce((result, key) => {
  3. result[key] = actionCreators[key](name, params);
  4. return result;
  5. }, {});
Add Comment
Please, Sign In to add comment