2018-03-16 19:22:19 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-10-29 18:25:22 +01:00
|
|
|
import { doHideNotification } from 'lbry-redux';
|
2018-03-16 20:04:22 +01:00
|
|
|
import { doNavigate } from 'redux/actions/navigation';
|
2018-03-16 19:22:19 +01:00
|
|
|
import ModalFirstSubscription from './view';
|
|
|
|
|
|
|
|
const perform = dispatch => () => ({
|
2018-10-29 18:25:22 +01:00
|
|
|
closeModal: () => dispatch(doHideNotification()),
|
2018-03-16 20:04:22 +01:00
|
|
|
navigate: path => dispatch(doNavigate(path)),
|
2018-03-16 19:22:19 +01:00
|
|
|
});
|
|
|
|
|
2018-11-01 22:55:25 +01:00
|
|
|
export default connect(
|
|
|
|
null,
|
|
|
|
perform
|
|
|
|
)(ModalFirstSubscription);
|