18 lines
635 B
JavaScript
18 lines
635 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doResolveUri } from 'lbry-redux';
|
|
import { doSetPlayingUri } from 'redux/actions/content';
|
|
import { doUserSetReferrer } from 'redux/actions/user';
|
|
import { selectUserVerifiedEmail } from 'redux/selectors/user';
|
|
import { selectHasUnclaimedRefereeReward } from 'redux/selectors/rewards';
|
|
import LivestreamPage from './view';
|
|
|
|
const select = (state) => ({
|
|
hasUnclaimedRefereeReward: selectHasUnclaimedRefereeReward(state),
|
|
isAuthenticated: selectUserVerifiedEmail(state),
|
|
});
|
|
|
|
export default connect(select, {
|
|
doSetPlayingUri,
|
|
doResolveUri,
|
|
doUserSetReferrer,
|
|
})(LivestreamPage);
|