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

15 lines
400 B
JavaScript
Raw Normal View History

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