lbry-desktop/src/ui/modal/modalRewardApprovalRequired/index.js

17 lines
381 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import ModalRewardApprovalRequired from './view';
2017-08-26 05:21:26 +02:00
const perform = dispatch => ({
doAuth: () => {
dispatch(doHideModal());
2019-04-04 23:05:23 +02:00
// dispatch(doAuthNavigate());
2017-08-26 05:21:26 +02:00
},
closeModal: () => dispatch(doHideModal()),
2017-08-26 05:21:26 +02:00
});
export default connect(
null,
perform
)(ModalRewardApprovalRequired);