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

10 lines
178 B
JavaScript
Raw Normal View History

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