2018-03-16 11:22:19 -07:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doCloseModal } from 'redux/actions/app';
|
2018-03-16 12:04:22 -07:00
|
|
|
import { doNavigate } from 'redux/actions/navigation';
|
2018-03-16 11:22:19 -07:00
|
|
|
import ModalFirstSubscription from './view';
|
|
|
|
|
|
|
|
const perform = dispatch => () => ({
|
|
|
|
closeModal: () => dispatch(doCloseModal()),
|
2018-03-16 12:04:22 -07:00
|
|
|
navigate: path => dispatch(doNavigate(path)),
|
2018-03-16 11:22:19 -07:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(ModalFirstSubscription);
|