2018-03-16 19:22:19 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-04-19 18:51:18 +02: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-04-19 18:51:18 +02: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
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(ModalFirstSubscription);
|