Skip to content

Commit

Permalink
Ensure we use following feed if merge is disabled (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Nov 28, 2023
1 parent f580d4d commit 17a1835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/state/queries/post-feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion src/view/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 17a1835

Please sign in to comment.