2019-10-11 02:37:18 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-11-11 00:59:37 +01:00
|
|
|
import { selectCurrentUploads, selectUploadCount } from 'lbryinc';
|
2019-10-11 02:37:18 +02:00
|
|
|
import WebUploadList from './view';
|
|
|
|
|
2021-11-11 00:59:37 +01:00
|
|
|
const select = state => ({
|
2019-10-11 02:37:18 +02:00
|
|
|
currentUploads: selectCurrentUploads(state),
|
|
|
|
uploadCount: selectUploadCount(state),
|
|
|
|
});
|
|
|
|
|
2021-11-11 00:59:37 +01:00
|
|
|
export default connect(
|
|
|
|
select,
|
|
|
|
null
|
|
|
|
)(WebUploadList);
|