Skip to content

Commit

Permalink
fix: label
Browse files Browse the repository at this point in the history
  • Loading branch information
Just-a-Pirate committed Apr 26, 2024
1 parent c3ade95 commit b6a7ae7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const AdminHomepage = () => {
<DonutChart className="dark:invert"
data={dataUsersDonut}
valueFormatter={valueFormatterUsers} //currently formats total as well
label={(users.length).toString()}
label={(users.length).toString()+" Users"}
index="Role"
category="Users"
variant="donut"
Expand All @@ -401,7 +401,7 @@ const AdminHomepage = () => {
<DonutChart className="dark:invert"
data={dataReportsDonut}
valueFormatter={valueFormatterReports} //currently formats total as well
label={(reports.length).toString()}
label={(reports.length).toString()+ " Reports"}
index="Status"
category="Reports"
variant="donut"
Expand All @@ -418,7 +418,7 @@ const AdminHomepage = () => {
<DonutChart className="dark:invert"
data={dataPostsDonut}
valueFormatter={valueFormatterPosts} //currently formats total as well
label={(posts.length).toString()}
label={(posts.length).toString()+" Posts"}
index="Status"
category="Posts"
variant="donut"
Expand Down

0 comments on commit b6a7ae7

Please sign in to comment.