Remove exception
This commit is contained in:
@@ -138,9 +138,7 @@ export function usePostFeedQuery(
|
|||||||
const isDiscover = feedDesc.includes(DISCOVER_FEED_URI)
|
const isDiscover = feedDesc.includes(DISCOVER_FEED_URI)
|
||||||
|
|
||||||
const [pageSize] = React.useState(() => {
|
const [pageSize] = React.useState(() => {
|
||||||
// add exclusions here
|
return gate('post_feed_lang_window') ? 100 : PAGE_SIZE
|
||||||
const isExcluded = isDiscover
|
|
||||||
return !isExcluded && gate('post_feed_lang_window') ? 100 : PAGE_SIZE
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// Make sure this doesn't invalidate unless really needed.
|
// Make sure this doesn't invalidate unless really needed.
|
||||||
|
|||||||
Reference in New Issue
Block a user