feat: fix amount property typo and format numbers for dashboard reports

This commit is contained in:
Ardeman
2025-02-24 08:04:09 +08:00
parent e484af6e71
commit e11f007eb1
5 changed files with 17 additions and 11 deletions
+4 -4
View File
@@ -22,12 +22,12 @@ export const DashboardPage = () => {
</section>
<div className="mb-5 grid grid-cols-3 gap-4">
{REPORT.map((report, index) => (
{REPORT.map(({ title, amount }, index) => (
<CardReport
key={index}
title={report.title}
amound={report.amound}
></CardReport>
title={title}
amount={amount}
/>
))}
</div>