lbry-desktop/ui/util/batch-actions.js

8 lines
148 B
JavaScript
Raw Permalink Normal View History

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