From fabfa4803b4835b83b9333aa075ac967b3cdecb0 Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Thu, 12 Nov 2026 17:18:03 +0530 Subject: [PATCH] fix(tools): restore 6-tool limit per category with 'See more' pagination button --- src/components/sections/ToolGridSection.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/sections/ToolGridSection.tsx b/src/components/sections/ToolGridSection.tsx index d380f8d..e3d2383 100644 --- a/src/components/sections/ToolGridSection.tsx +++ b/src/components/sections/ToolGridSection.tsx @@ -1182,9 +1182,9 @@ export function ToolGridSection({ : group.id; const catDesc = group.category ? resolveLocalised(group.category.description, locale) : ''; - // Display all tools in the category directly - const displayedTools = group.tools; - const hasMoreTools = false; + // In "All Tools" view, only 2 rows are visible (3 items per row * 2 rows = 6 tools) + const displayedTools = group.tools.slice(0, 6); + const hasMoreTools = group.tools.length > 6; return (
- See more in {catName} ({group.tools.length - 8} more tools) + See more in {catName} ({group.tools.length - 6} more tools)