lbry-desktop/ui/js/util/batchActions.js

10 lines
180 B
JavaScript
Raw Normal View History

// https://github.com/reactjs/redux/issues/911
function batchActions(...actions) {
return {
2017-06-06 23:19:12 +02:00
type: "BATCH_ACTIONS",
actions: actions,
};
}
2017-06-06 06:21:55 +02:00
export default batchActions;