Remove dead gate
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
export type Gate =
|
export type Gate =
|
||||||
// Keep this alphabetic please.
|
// Keep this alphabetic please.
|
||||||
| 'debug_show_feedcontext' // DISABLED DUE TO EME
|
| 'debug_show_feedcontext' // DISABLED DUE TO EME
|
||||||
| 'post_feed_lang_window' // DISABLED DUE TO EME
|
|
||||||
| 'remove_show_latest_button'
|
| 'remove_show_latest_button'
|
||||||
|
|||||||
@@ -144,11 +144,8 @@ export function usePostFeedQuery(
|
|||||||
/**
|
/**
|
||||||
* The number of posts to fetch in a single request. Because we filter
|
* The number of posts to fetch in a single request. Because we filter
|
||||||
* unwanted content, we may over-fetch here to try and fill pages by
|
* unwanted content, we may over-fetch here to try and fill pages by
|
||||||
* `MIN_POSTS`.
|
* `MIN_POSTS`. But if you're doing this, ask @why if it's ok first.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TEMPORARILY DISABLING GATE TO PREVENT EVENT CONSUMPTION @TODO EME-GATE
|
|
||||||
// const fetchLimit = gate('post_feed_lang_window') ? 100 : MIN_POSTS
|
|
||||||
const fetchLimit = MIN_POSTS
|
const fetchLimit = MIN_POSTS
|
||||||
|
|
||||||
// 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