2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-10-29 18:23:53 +01:00
|
|
|
import { doHideModal } from 'redux/actions/app';
|
2017-12-21 22:08:54 +01:00
|
|
|
import ModalRewardApprovalRequired from './view';
|
2017-08-26 05:21:26 +02:00
|
|
|
|
|
|
|
const perform = dispatch => ({
|
|
|
|
doAuth: () => {
|
2018-10-29 18:23:53 +01:00
|
|
|
dispatch(doHideModal());
|
2019-04-04 23:05:23 +02:00
|
|
|
// dispatch(doAuthNavigate());
|
2017-08-26 05:21:26 +02:00
|
|
|
},
|
2018-10-29 18:23:53 +01:00
|
|
|
closeModal: () => dispatch(doHideModal()),
|
2017-08-26 05:21:26 +02:00
|
|
|
});
|
|
|
|
|
2018-11-01 22:55:25 +01:00
|
|
|
export default connect(
|
|
|
|
null,
|
|
|
|
perform
|
|
|
|
)(ModalRewardApprovalRequired);
|