diff --git a/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx b/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx index 6704da2ef..68927a094 100644 --- a/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx +++ b/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx @@ -48,6 +48,8 @@ const FeedRow = memo<{ feed: Feed["feed"] }>(({ feed }) => { ) }) +// Backend limit +const SIZE = 5 FeedRow.displayName = "FeedRow" export function Component() { @@ -142,7 +144,7 @@ export function Component() {
- {list.data.list.feedIds?.length || 0} + {list.data.feedCount || 0}
{(list.data.list.feedIds?.length || 0) > 1 ? "Feeds" : "Feed"} @@ -189,13 +191,14 @@ export function Component() {
{listData.feedIds - ?.slice(0, 7) + ?.slice(0, SIZE) .map((feedId) => )}
- {"feedCount" in list.data && list.data.feedCount > 7 && ( + {"feedCount" in list.data && list.data.feedCount > SIZE && (