2021-03-25 12:24:49 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doHideModal } from 'redux/actions/app';
|
|
|
|
import ModalRemoveBtcSwapAddress from './view';
|
2021-04-04 09:10:55 +02:00
|
|
|
import { doRemoveCoinSwap } from 'redux/actions/coinSwap';
|
2021-03-25 12:24:49 +01:00
|
|
|
|
|
|
|
const select = (state, props) => ({});
|
|
|
|
|
|
|
|
const perform = (dispatch) => ({
|
2021-04-08 11:02:37 +02:00
|
|
|
removeCoinSwap: (chargeCode) => dispatch(doRemoveCoinSwap(chargeCode)),
|
2021-03-25 12:24:49 +01:00
|
|
|
closeModal: () => dispatch(doHideModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select, perform)(ModalRemoveBtcSwapAddress);
|