change logic
This commit is contained in:
@@ -142,8 +142,7 @@ export function FeedPage({
|
|||||||
}, [ax, scrollToTop, feed, queryClient])
|
}, [ax, scrollToTop, feed, queryClient])
|
||||||
|
|
||||||
const shouldPrefetch = IS_NATIVE && isPageAdjacent
|
const shouldPrefetch = IS_NATIVE && isPageAdjacent
|
||||||
const windowSize =
|
const windowSize = isPageFocused || hasBeenFocused ? undefined : 1
|
||||||
isPageAdjacent && !hasBeenFocused ? 1 : undefined
|
|
||||||
const isDiscoverFeed = feedInfo.uri === DISCOVER_FEED_URI
|
const isDiscoverFeed = feedInfo.uri === DISCOVER_FEED_URI
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
|
|||||||
Reference in New Issue
Block a user