Fix livestream tiles reloading placeholders then scrolled (#360)
## Issue 9: Wild west + scroll down tries to reload livestreams
This commit is contained in:
parent
4267c1ccf7
commit
7ea74cfa0d
2 changed files with 3 additions and 2 deletions
|
@ -15,12 +15,12 @@ import { selectModerationBlockList } from 'redux/selectors/comments';
|
||||||
import ClaimListDiscover from './view';
|
import ClaimListDiscover from './view';
|
||||||
import { doFetchViewCount } from 'lbryinc';
|
import { doFetchViewCount } from 'lbryinc';
|
||||||
|
|
||||||
const select = (state) => ({
|
const select = (state, props) => ({
|
||||||
followedTags: selectFollowedTags(state),
|
followedTags: selectFollowedTags(state),
|
||||||
claimSearchByQuery: selectClaimSearchByQuery(state),
|
claimSearchByQuery: selectClaimSearchByQuery(state),
|
||||||
claimSearchByQueryLastPageReached: selectClaimSearchByQueryLastPageReached(state),
|
claimSearchByQueryLastPageReached: selectClaimSearchByQueryLastPageReached(state),
|
||||||
claimsByUri: selectClaimsByUri(state),
|
claimsByUri: selectClaimsByUri(state),
|
||||||
loading: selectFetchingClaimSearch(state),
|
loading: props.loading !== undefined ? props.loading : selectFetchingClaimSearch(state),
|
||||||
showNsfw: selectShowMatureContent(state),
|
showNsfw: selectShowMatureContent(state),
|
||||||
hideReposts: selectClientSetting(state, SETTINGS.HIDE_REPOSTS),
|
hideReposts: selectClientSetting(state, SETTINGS.HIDE_REPOSTS),
|
||||||
languageSetting: selectLanguage(state),
|
languageSetting: selectLanguage(state),
|
||||||
|
|
|
@ -175,6 +175,7 @@ function DiscoverPage(props: Props) {
|
||||||
hideAdvancedFilter
|
hideAdvancedFilter
|
||||||
hideFilters
|
hideFilters
|
||||||
infiniteScroll={false}
|
infiniteScroll={false}
|
||||||
|
loading={false}
|
||||||
showNoSourceClaims={ENABLE_NO_SOURCE_CLAIMS}
|
showNoSourceClaims={ENABLE_NO_SOURCE_CLAIMS}
|
||||||
meta={getElemMeta()}
|
meta={getElemMeta()}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue