lbry-desktop/ui/modal/modalRemoveBtcSwapAddress/index.js

14 lines
469 B
JavaScript
Raw Normal View History

2021-03-25 12:24:49 +01:00
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);