2017-08-26 05:21:26 +02:00
|
|
|
import React from "react";
|
|
|
|
import { connect } from "react-redux";
|
2017-08-30 19:57:42 +02:00
|
|
|
import { doCloseModal } from "actions/app";
|
|
|
|
import { doAuthNavigate } from "actions/navigation";
|
2017-08-26 05:21:26 +02:00
|
|
|
import ModalRewardApprovalRequired from "./view";
|
|
|
|
|
|
|
|
const perform = dispatch => ({
|
|
|
|
doAuth: () => {
|
|
|
|
dispatch(doCloseModal());
|
|
|
|
dispatch(doAuthNavigate());
|
|
|
|
},
|
|
|
|
closeModal: () => dispatch(doCloseModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(ModalRewardApprovalRequired);
|