2020-03-25 04:15:05 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doHideModal } from 'redux/actions/app';
|
2021-10-17 10:36:14 +02:00
|
|
|
import { selectTransactionItems } from 'redux/selectors/wallet';
|
2020-03-25 04:15:05 +01:00
|
|
|
import ModalSupportsLiquidate from './view';
|
|
|
|
|
2021-10-17 10:36:14 +02:00
|
|
|
const select = (state) => ({
|
2020-03-25 04:15:05 +01:00
|
|
|
transactionItems: selectTransactionItems(state),
|
|
|
|
});
|
|
|
|
|
2021-10-17 10:36:14 +02:00
|
|
|
const perform = (dispatch) => ({
|
2020-03-25 04:15:05 +01:00
|
|
|
closeModal: () => dispatch(doHideModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select, perform)(ModalSupportsLiquidate);
|