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

12 lines
389 B
JavaScript
Raw Normal View History

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