Skip to content

The Open Source DocuSign Alternative.

fix: minor changes based on review

Ephraim Atta-Duncan50b57d5aa50e
diff --git a/apps/web/src/app/(dashboard)/admin/stats/page.tsx b/apps/web/src/app/(dashboard)/admin/stats/page.tsx
index cb2ead970..04fa9c0ca 100644
--- a/apps/web/src/app/(dashboard)/admin/stats/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/stats/page.tsx
@@ -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>
diff --git a/apps/web/src/app/(dashboard)/admin/stats/user-with-document.tsx b/apps/web/src/app/(dashboard)/admin/stats/user-with-document.tsx
index 5ecb934f1..1afc55908 100644
--- a/apps/web/src/app/(dashboard)/admin/stats/user-with-document.tsx
+++ b/apps/web/src/app/(dashboard)/admin/stats/user-with-document.tsx
@@ -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%)' }}
/>