b2630f6f21
- Users should be able to see the entered and promised amount, otherwise they might forget how much to send over. - This change also prepares for the future upgrade to support multiple coins.
13 lines
463 B
JavaScript
13 lines
463 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import ModalRemoveBtcSwapAddress from './view';
|
|
import { doRemoveCoinSwap } from 'redux/actions/coinSwap';
|
|
|
|
const select = (state, props) => ({});
|
|
|
|
const perform = (dispatch) => ({
|
|
removeCoinSwap: (sendAddress) => dispatch(doRemoveCoinSwap(sendAddress)),
|
|
closeModal: () => dispatch(doHideModal()),
|
|
});
|
|
|
|
export default connect(select, perform)(ModalRemoveBtcSwapAddress);
|