lbry-desktop/ui/component/walletTipAmountSelector/index.js

14 lines
498 B
JavaScript
Raw Normal View History

2021-04-23 21:59:48 +02:00
import { connect } from 'react-redux';
2021-07-17 18:08:53 +02:00
import { selectBalance } from 'lbry-redux';
2021-04-23 21:59:48 +02:00
import WalletTipAmountSelector from './view';
import { selectUserVerifiedEmail } from 'redux/selectors/user';
2021-04-23 21:59:48 +02:00
const select = (state, props) => ({
balance: selectBalance(state),
isAuthenticated: Boolean(selectUserVerifiedEmail(state)),
// claim: makeSelectClaimForUri(props.uri)(state),
// claim: makeSelectClaimForUri(props.uri, false)(state),
2021-04-23 21:59:48 +02:00
});
export default connect(select)(WalletTipAmountSelector);