9faca8da2b
i18n messages, handle error case max copy copy update @lbry/components and tweak range styles sigfigs error catching and cleanup apply review changes style table and unlock button handle tip errors separate fileDescription from fileDetails make expandable cards ui tweaks tweak copy, style, behavior remove unused strings forgot an important line
15 lines
502 B
JavaScript
15 lines
502 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import { doAbandonClaim, selectTransactionItems } from 'lbry-redux';
|
|
import ModalSupportsLiquidate from './view';
|
|
|
|
const select = state => ({
|
|
transactionItems: selectTransactionItems(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doHideModal()),
|
|
abandonClaim: (txid, nout) => dispatch(doAbandonClaim(txid, nout)),
|
|
});
|
|
|
|
export default connect(select, perform)(ModalSupportsLiquidate);
|