bef7ff4a2d
## Issue 38 Handle resumable file upload ## Notes Since we can't serialize a File object, we'll need to the user to re-select the file to resume.
18 lines
529 B
JavaScript
18 lines
529 B
JavaScript
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);
|