fix: minor changes based on review

This commit is contained in:
Ephraim Atta-Duncan
2024-05-07 09:35:59 +00:00
parent 32348dd6f1
commit 50b57d5aa5
2 changed files with 5 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export default async function AdminStatsPage() {
/>
<CardMetric
icon={File}
title="Users who sent one or more documents in the past month"
title="Users who uploaded one or more documents in the past month"
value={userWithAtLeastOneDocumentSignedPerMonth}
/>
</div>

View File

@ -37,7 +37,10 @@ export const UserWithDocumentChart = ({ className, data }: UserWithDocumentChart
}}
formatter={(value, name) => [
Number(value).toLocaleString('en-US'),
name === 'count' ? 'User with document' : 'Users with signed document',
{
count: 'User with document',
signed_count: 'Users with signed document',
}[name],
]}
cursor={{ fill: 'hsl(var(--primary) / 10%)' }}
/>