85a8234115
Closes #2714
11 lines
414 B
JavaScript
11 lines
414 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doSendTip } from 'lbry-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import ModalConfirmSendTip from './view';
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doHideModal()),
|
|
sendSupport: (tipAmount, claimId, isSupport) => dispatch(doSendTip(tipAmount, claimId, isSupport)),
|
|
});
|
|
|
|
export default connect(null, perform)(ModalConfirmSendTip);
|