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

12 lines
394 B
JavaScript
Raw Normal View History

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';
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)),
});
export default connect(null, perform)(ModalFirstSubscription);