2018-03-26 23:32:43 +02:00
|
|
|
import { connect } from 'react-redux';
|
2018-10-29 18:25:22 +01:00
|
|
|
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 => ({
|
2018-10-29 18:25:22 +01:00
|
|
|
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);
|