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

7 lines
148 B
JavaScript

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