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

wip

flow

fix

cleaning

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

16 lines
559 B
JavaScript

import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import { doTipClaimMass } from 'redux/actions/wallet';
import { selectIsMassClaimingTips, selectUtxoCounts, selectTipsBalance } from 'redux/selectors/wallet';
import ModalSupportsLiquidate from './view';
const select = (state) => ({
massClaimingTips: selectIsMassClaimingTips(state),
utxoCounts: selectUtxoCounts(state),
tipsBalance: selectTipsBalance(state) || 0,
});
export default connect(select, {
doTipClaimMass,
doHideModal,
})(ModalSupportsLiquidate);