diff --git a/src/components/dashboard/kpi-row.tsx b/src/components/dashboard/kpi-row.tsx index 2bd4637..ea82c33 100644 --- a/src/components/dashboard/kpi-row.tsx +++ b/src/components/dashboard/kpi-row.tsx @@ -1,24 +1,18 @@ -import { Pill } from "@/components/ui/pill"; import type { ProjectMetrics } from "@/lib/metrics/compute"; function Tile({ label, value, sub, - estimated, }: { label: string; value: string; sub?: string; - estimated?: boolean; }) { return (
-
+

{label}

- {/* The spec requires "estimated" in the UI, not only in a footnote: - these figures are shown to clients and have to survive scrutiny. */} - {estimated && estimated}

{value} @@ -57,7 +51,6 @@ export function KpiRow({ metrics }: { metrics: ProjectMetrics }) { label="Hours invested" value={`${hours}h`} sub={`across ${metrics.sessionCount} sessions ยท longest ${longestHours}h`} - estimated />