fix: remove duplicate code in StatsCard
This commit is contained in:
parent
d38f0a4cc2
commit
77546a5017
@ -77,12 +77,7 @@ export function StatsCard({ title, value, change, trend, icon: Icon, color = "bl
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
{trend === "up" ? "↑" : trend === "down" ? "↓" : "→"} {change}
|
}
|
||||||
</span>
|
|
||||||
</p>
|
|
||||||
<span className="text-xs text-gray-500">vs last month</span>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user