[chore] added prettier

This commit is contained in:
Jori Lallo
2017-04-26 21:47:03 -07:00
parent fcdeb67bc5
commit 08b1609440
53 changed files with 1983 additions and 928 deletions

View File

@ -1,9 +1,9 @@
export default (type, ...argNames) => {
return function(...args) {
let action = { type }
let action = { type };
argNames.forEach((arg, index) => {
action[argNames[index]] = args[index]
})
return action
}
}
action[argNames[index]] = args[index];
});
return action;
};
};