lbry-desktop/src/ui/modal/modalPublish/index.js

15 lines
370 B
JavaScript
Raw Normal View History

2018-03-26 23:32:43 +02:00
import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
2018-03-26 23:32:43 +02:00
import ModalSendTip from './view';
import { doClearPublish } from 'redux/actions/publish';
const perform = dispatch => ({
closeModal: () => dispatch(doHideModal()),
2018-03-26 23:32:43 +02:00
clearPublish: () => dispatch(doClearPublish()),
});
export default connect(
null,
perform
)(ModalSendTip);