Return empty meters instead of null from getCurrentUsage

Fixkamo-internal
Shipped
May 12, 2026 at 6:29 AM UTC
Author
kamo
Commit
45cc1f4

StatsManager rendered <UsageMeters usage={null}> when the legacy stub resolved to null, crashing on usage.meters. Return { meters: [] } so the component takes the existing empty-state branch.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing