lbry-desktop/ui/component/webUploadList/index.js

19 lines
529 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { selectCurrentUploads, selectUploadCount, doUpdateUploadRemove } from 'lbryinc';
import { doOpenModal } from 'redux/actions/app';
import { doPublishResume } from 'redux/actions/publish';
import WebUploadList from './view';
const select = (state) => ({
currentUploads: selectCurrentUploads(state),
uploadCount: selectUploadCount(state),
});
const perform = {
doPublishResume,
doUpdateUploadRemove,
doOpenModal,
};
export default connect(select, perform)(WebUploadList);