lbry-desktop/ui/modal/modalSupportsLiquidate/index.js
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00

14 lines
432 B
JavaScript

import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import { selectTransactionItems } from 'redux/selectors/wallet';
import ModalSupportsLiquidate from './view';
const select = (state) => ({
transactionItems: selectTransactionItems(state),
});
const perform = (dispatch) => ({
closeModal: () => dispatch(doHideModal()),
});
export default connect(select, perform)(ModalSupportsLiquidate);