diff --git a/src/components/OverviewTab.tsx b/src/components/OverviewTab.tsx index 1316501..bd90ff1 100644 --- a/src/components/OverviewTab.tsx +++ b/src/components/OverviewTab.tsx @@ -3,37 +3,10 @@ import { usePortal } from '@/lib/PortalContext'; import { Icon } from './Icons'; import { SystemTrends } from './SystemTrends'; -import { getVitalsBg, getVitalsTrack, formatUptime } from '@/lib/stats'; +import { formatUptime } from '@/lib/stats'; import { STATUS_COLORS, STATUS_LABELS, formatRelativeTime, formatDuration } from '@/lib/deployments'; import type { DeploymentStatus } from '@/lib/deployments'; -function StatBar({ label, percent, used, total, unit }: { - label: string; - percent: number; - used: string; - total: string; - unit: string; -}) { - const bg = getVitalsBg(percent); - const track = getVitalsTrack(percent); - - return ( -
{used} / {total} {unit}
-Stats unavailable
- )} -