fix: update terminology for clarity in DashboardStats and RecentActivityChart components

This commit is contained in:
2025-12-28 22:32:52 +01:00
parent 2d2fa6ada9
commit 0a0c4adb09
2 changed files with 3 additions and 3 deletions

View File

@@ -43,13 +43,13 @@ export function DashboardStats({ pubkey }: DashboardStatsProps) {
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-4">
<Card>
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">Total Events</CardTitle>
<CardTitle className="text-sm font-medium">Loaded Events</CardTitle>
<FileText className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<div className="text-2xl font-bold">{stats.totalEvents}</div>
<p className="text-xs text-muted-foreground">
All events published
All events loaded
</p>
</CardContent>
</Card>

View File

@@ -172,7 +172,7 @@ export function RecentActivityChart() {
</CardContent>
<CardFooter className="flex-col items-start gap-2 text-sm">
<div className="flex gap-2 font-medium leading-none">
{daysWithActivity} active days with {totalEvents} events
{daysWithActivity} active days with {totalEvents} loaded events
<TrendingUp className="h-4 w-4" />
</div>
<div className="leading-none text-muted-foreground">