13 lines
498 B
JavaScript
13 lines
498 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectBalance } from 'lbry-redux';
|
|
import WalletTipAmountSelector from './view';
|
|
import { selectUserVerifiedEmail } from 'redux/selectors/user';
|
|
|
|
const select = (state, props) => ({
|
|
balance: selectBalance(state),
|
|
isAuthenticated: Boolean(selectUserVerifiedEmail(state)),
|
|
// claim: makeSelectClaimForUri(props.uri)(state),
|
|
// claim: makeSelectClaimForUri(props.uri, false)(state),
|
|
});
|
|
|
|
export default connect(select)(WalletTipAmountSelector);
|