Refactor trend calculations and improve WordCloud component responsiveness; remove trend labels for cleaner display

This commit is contained in:
2025-05-22 22:20:18 +02:00
parent cbbdc8a1dc
commit 303226e3a9
4 changed files with 340 additions and 269 deletions

View File

@ -67,9 +67,6 @@ export default function MetricCard({
>
{trend.isPositive !== false ? "↑" : "↓"}{" "}
{Math.abs(trend.value).toFixed(1)}%
{trend.label && (
<span className="text-gray-500 ml-1">{trend.label}</span>
)}
</span>
)}
</div>