fix: remove duplicate code in StatsCard

This commit is contained in:
Aleksandar 2025-12-11 13:34:40 +01:00
parent d38f0a4cc2
commit 77546a5017

View File

@ -77,12 +77,7 @@ export function StatsCard({ title, value, change, trend, icon: Icon, color = "bl
</CardContent>
</Card>
);
{trend === "up" ? "↑" : trend === "down" ? "↓" : "→"} {change}
</span>
</p>
<span className="text-xs text-gray-500">vs last month</span>
</div>
)}
}
</CardContent>
</Card>
);