From a62c10de7d11dcc72af26389499dc3932c12e97b Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Thu, 7 May 2026 16:11:24 +0530 Subject: [PATCH] cleanup --- src/components/ProgressCard/TopTags.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/ProgressCard/TopTags.tsx b/src/components/ProgressCard/TopTags.tsx index dd8e53e..c8aea82 100644 --- a/src/components/ProgressCard/TopTags.tsx +++ b/src/components/ProgressCard/TopTags.tsx @@ -76,14 +76,20 @@ export default function TopTags({ arr.sort((a, b) => b.amount - a.amount); - const top = arr.slice(0, 5); + const top = arr.slice(0, 4); const total = top.reduce((sum, t) => sum + t.amount, 0); return { items: top, total }; }, [reportData, mode, selectedPeriodId]); return ( - + {items.map((item) => ( ))}