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

14 lines
492 B
JavaScript
Raw Normal View History

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