lbry-desktop/src/ui/page/fileListPublished/index.js
Sean Yesmunt 102665ac62 prettier
2019-05-07 17:38:29 -04:00

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);