Skip to content

Commit

Permalink
Remove exception
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Sep 24, 2024
1 parent 0e00552 commit c4743da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/state/queries/post-feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ export function usePostFeedQuery(
const isDiscover = feedDesc.includes(DISCOVER_FEED_URI)

const [pageSize] = React.useState(() => {
// add exclusions here
const isExcluded = isDiscover
return !isExcluded && gate('post_feed_lang_window') ? 100 : PAGE_SIZE
return gate('post_feed_lang_window') ? 100 : PAGE_SIZE
})

// Make sure this doesn't invalidate unless really needed.
Expand Down

0 comments on commit c4743da

Please sign in to comment.