You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/components/UI/Predict/views/PredictHome/components/PredictTrendingSection/usePredictTrendingSection.test.ts
Copy file name to clipboardExpand all lines: app/components/UI/Predict/views/PredictHome/components/PredictTrendingSection/usePredictTrendingSection.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ import { usePredictMarketList } from '../../../../hooks/usePredictMarketList';
9
9
*/
10
10
exportconstTRENDING_DISPLAY_LIMIT=5;
11
11
12
+
/**
13
+
* How many markets we fetch. Deliberately larger than {@link TRENDING_DISPLAY_LIMIT}
14
+
* so that after standalone/staleness filtering the home section still has enough
15
+
* survivors to fill its display cap. Mirrors the feed registry's trending limit.
16
+
*/
17
+
constTRENDING_FETCH_LIMIT=10;
18
+
12
19
/**
13
20
* Query params derived from the feed registry so the home section and the
14
21
* full "See all" feed share the same React Query cache key.
0 commit comments