Fix livestream tiles reloading placeholders then scrolled (#360)

## Issue
9: Wild west + scroll down tries to reload livestreams
This commit is contained in:
infinite-persistence 2021-11-24 06:35:47 -08:00 committed by GitHub
parent 4267c1ccf7
commit 7ea74cfa0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -15,12 +15,12 @@ import { selectModerationBlockList } from 'redux/selectors/comments';
import ClaimListDiscover from './view';
import { doFetchViewCount } from 'lbryinc';
const select = (state) => ({
const select = (state, props) => ({
followedTags: selectFollowedTags(state),
claimSearchByQuery: selectClaimSearchByQuery(state),
claimSearchByQueryLastPageReached: selectClaimSearchByQueryLastPageReached(state),
claimsByUri: selectClaimsByUri(state),
loading: selectFetchingClaimSearch(state),
loading: props.loading !== undefined ? props.loading : selectFetchingClaimSearch(state),
showNsfw: selectShowMatureContent(state),
hideReposts: selectClientSetting(state, SETTINGS.HIDE_REPOSTS),
languageSetting: selectLanguage(state),

View file

@ -175,6 +175,7 @@ function DiscoverPage(props: Props) {
hideAdvancedFilter
hideFilters
infiniteScroll={false}
loading={false}
showNoSourceClaims={ENABLE_NO_SOURCE_CLAIMS}
meta={getElemMeta()}
/>