2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-04-18 06:03:01 +02:00
|
|
|
import { doCloseModal } from 'lbry-redux';
|
2017-12-21 22:08:54 +01:00
|
|
|
import { doAuthNavigate } from 'redux/actions/navigation';
|
|
|
|
import ModalRewardApprovalRequired from './view';
|
2017-08-26 05:21:26 +02:00
|
|
|
|
|
|
|
const perform = dispatch => ({
|
|
|
|
doAuth: () => {
|
|
|
|
dispatch(doCloseModal());
|
|
|
|
dispatch(doAuthNavigate());
|
|
|
|
},
|
|
|
|
closeModal: () => dispatch(doCloseModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(ModalRewardApprovalRequired);
|