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