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) => ( ))}