19 lines
611 B
JavaScript
19 lines
611 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectIsFetchingClaimListMine, selectFileListPublishedSort, selectMyClaimsWithoutChannels } from 'lbry-redux';
|
|
import { doCheckPendingPublishes } from 'redux/actions/publish';
|
|
import FileListPublished from './view';
|
|
|
|
const select = state => ({
|
|
claims: selectMyClaimsWithoutChannels(state),
|
|
fetching: selectIsFetchingClaimListMine(state),
|
|
sortBy: selectFileListPublishedSort(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
checkPendingPublishes: () => dispatch(doCheckPendingPublishes()),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(FileListPublished);
|