madiator.com/ui/modal/modalSupportsLiquidate/index.js

15 lines
416 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import { selectTransactionItems } from 'lbry-redux';
import ModalSupportsLiquidate from './view';
const select = state => ({
transactionItems: selectTransactionItems(state),
});
const perform = dispatch => ({
closeModal: () => dispatch(doHideModal()),
});
export default connect(select, perform)(ModalSupportsLiquidate);