2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2019-06-11 20:10:58 +02:00
|
|
|
import { selectDownloadedUris, selectIsFetchingFileList } from 'lbry-redux';
|
2017-12-21 22:08:54 +01:00
|
|
|
import FileListDownloaded from './view';
|
2017-04-23 18:10:45 +02:00
|
|
|
|
2017-06-06 06:21:55 +02:00
|
|
|
const select = state => ({
|
2019-06-11 20:10:58 +02:00
|
|
|
downloadedUris: selectDownloadedUris(state),
|
2018-06-13 23:07:06 +02:00
|
|
|
fetching: selectIsFetchingFileList(state),
|
2017-06-06 06:21:55 +02:00
|
|
|
});
|
2017-04-23 18:10:45 +02:00
|
|
|
|
2018-06-13 23:07:06 +02:00
|
|
|
export default connect(
|
|
|
|
select,
|
2019-03-28 17:53:13 +01:00
|
|
|
null
|
2018-06-13 23:07:06 +02:00
|
|
|
)(FileListDownloaded);
|