fdd20ef350
paginated enable revoking filtering txo pagination changes move constants remove fetchTransactions() calls review changes final changes
15 lines
478 B
JavaScript
15 lines
478 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import { doAbandonTxo, selectTransactionItems } from 'lbry-redux';
|
|
import ModalRevokeClaim from './view';
|
|
|
|
const select = state => ({
|
|
transactionItems: selectTransactionItems(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doHideModal()),
|
|
abandonTxo: (txo, cb) => dispatch(doAbandonTxo(txo, cb)),
|
|
});
|
|
|
|
export default connect(select, perform)(ModalRevokeClaim);
|