lbry-desktop/src/ui/page/fileListPublished/index.js

19 lines
546 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2019-07-13 04:59:45 +02:00
import { selectIsFetchingClaimListMine, selectMyClaimUrisWithoutChannels } from 'lbry-redux';
import { doCheckPendingPublishesApp } from 'redux/actions/publish';
import FileListPublished from './view';
2017-06-06 06:21:55 +02:00
const select = state => ({
2019-06-11 20:38:08 +02:00
uris: selectMyClaimUrisWithoutChannels(state),
fetching: selectIsFetchingClaimListMine(state),
2017-06-06 06:21:55 +02:00
});
2017-06-06 06:21:55 +02:00
const perform = dispatch => ({
2019-07-13 04:59:45 +02:00
checkPendingPublishes: () => dispatch(doCheckPendingPublishesApp()),
2017-06-06 06:21:55 +02:00
});
2018-06-12 09:12:22 +02:00
export default connect(
select,
perform
)(FileListPublished);