Ensure we use following feed if merge is disabled (#2005)

zio/stable
Eric Bailey 2023-11-27 19:42:02 -06:00 committed by GitHub
parent f580d4daf0
commit 17a183514a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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()
}

View File

@ -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}