lbry-desktop/src/renderer/modal/modalRewardApprovalRequired/index.js
2018-04-18 00:13:00 -04:00

14 lines
427 B
JavaScript

import { connect } from 'react-redux';
import { doCloseModal } from 'lbry-redux';
import { doAuthNavigate } from 'redux/actions/navigation';
import ModalRewardApprovalRequired from './view';
const perform = dispatch => ({
doAuth: () => {
dispatch(doCloseModal());
dispatch(doAuthNavigate());
},
closeModal: () => dispatch(doCloseModal()),
});
export default connect(null, perform)(ModalRewardApprovalRequired);