2019-10-11 02:37:18 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-12 11:21:19 +02:00
|
|
|
import { selectCurrentUploads, selectUploadCount, doUpdateUploadRemove } from 'lbryinc';
|
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
|
|
|
import { doPublishResume } from 'redux/actions/publish';
|
2019-10-11 02:37:18 +02:00
|
|
|
import WebUploadList from './view';
|
|
|
|
|
2021-10-12 11:21:19 +02:00
|
|
|
const select = (state) => ({
|
2019-10-11 02:37:18 +02:00
|
|
|
currentUploads: selectCurrentUploads(state),
|
|
|
|
uploadCount: selectUploadCount(state),
|
|
|
|
});
|
|
|
|
|
2021-10-12 11:21:19 +02:00
|
|
|
const perform = {
|
|
|
|
doPublishResume,
|
|
|
|
doUpdateUploadRemove,
|
|
|
|
doOpenModal,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(select, perform)(WebUploadList);
|