lbry-desktop/ui/js/util/batchActions.js
2017-05-04 11:59:45 -04:00

9 lines
178 B
JavaScript

// https://github.com/reactjs/redux/issues/911
function batchActions(...actions) {
return {
type: 'BATCH_ACTIONS',
actions: actions
};
}
export default batchActions