lbry-desktop/ui/component/publishPending/index.js
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00

14 lines
494 B
JavaScript

import { connect } from 'react-redux';
import { doCheckReflectingFiles } from 'redux/actions/publish';
import { makeSelectReflectingClaimForUri } from 'redux/selectors/claims';
import PublishPending from './view';
const select = (state, props) => ({
reflectingInfo: props.uri && makeSelectReflectingClaimForUri(props.uri)(state),
});
const perform = (dispatch) => ({
checkReflecting: () => dispatch(doCheckReflectingFiles()),
});
export default connect(select, perform)(PublishPending);