Ensure we use following feed if merge is disabled (#2005)
parent
f580d4daf0
commit
17a183514a
|
@ -144,7 +144,7 @@ export function usePostFeedQuery(
|
||||||
staleTime: STALE.INFINITY,
|
staleTime: STALE.INFINITY,
|
||||||
queryKey: RQKEY(feedDesc, params),
|
queryKey: RQKEY(feedDesc, params),
|
||||||
async queryFn({pageParam}: {pageParam: RQPageParam}) {
|
async queryFn({pageParam}: {pageParam: RQPageParam}) {
|
||||||
console.log('fetch', feedDesc, pageParam)
|
logger.debug('usePostFeedQuery', {feedDesc, pageParam})
|
||||||
if (!pageParam) {
|
if (!pageParam) {
|
||||||
tuner.reset()
|
tuner.reset()
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,7 +127,7 @@ function HomeScreenReady({
|
||||||
key="1"
|
key="1"
|
||||||
testID="followingFeedPage"
|
testID="followingFeedPage"
|
||||||
isPageFocused={selectedPage === 0}
|
isPageFocused={selectedPage === 0}
|
||||||
feed="home"
|
feed={homeFeedParams.mergeFeedEnabled ? 'home' : 'following'}
|
||||||
feedParams={homeFeedParams}
|
feedParams={homeFeedParams}
|
||||||
renderEmptyState={renderFollowingEmptyState}
|
renderEmptyState={renderFollowingEmptyState}
|
||||||
renderEndOfFeed={FollowingEndOfFeed}
|
renderEndOfFeed={FollowingEndOfFeed}
|
||||||
|
|
Loading…
Reference in New Issue