lbry-desktop/ui/modal/modalRemoveBtcSwapAddress/index.js
2021-04-13 14:02:25 -04:00

13 lines
469 B
JavaScript

import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import ModalRemoveBtcSwapAddress from './view';
import { doRemoveBtcAddress } from 'redux/actions/coinSwap';
const select = (state, props) => ({});
const perform = (dispatch) => ({
doRemoveBtcAddress: (btcAddress) => dispatch(doRemoveBtcAddress(btcAddress)),
closeModal: () => dispatch(doHideModal()),
});
export default connect(select, perform)(ModalRemoveBtcSwapAddress);