2018-03-26 23:32:43 +02:00
|
|
|
import { connect } from 'react-redux';
|
2018-10-29 18:23:53 +01:00
|
|
|
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 => ({
|
2018-10-29 18:23:53 +01:00
|
|
|
closeModal: () => dispatch(doHideModal()),
|
2018-03-26 23:32:43 +02:00
|
|
|
clearPublish: () => dispatch(doClearPublish()),
|
|
|
|
});
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
export default connect(
|
|
|
|
null,
|
|
|
|
perform
|
|
|
|
)(ModalSendTip);
|