lbry-desktop/src/renderer/modal/modalConfirmTransaction/index.js

11 lines
400 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { doHideNotification, doSendDraftTransaction } from 'lbry-redux';
import ModalConfirmTransaction from './view';
const perform = dispatch => ({
closeModal: () => dispatch(doHideNotification()),
sendToAddress: (address, amount) => dispatch(doSendDraftTransaction(address, amount)),
});
export default connect(null, perform)(ModalConfirmTransaction);