Add default value for usagePercent to handle undefined

Fixkamo-internal
Shipped
October 18, 2025 at 12:13 AM UTC
Author
snadjafinia
Commit
c20399f

- Changed usagePercent > 80 to (usagePercent || 0) > 80 - Prevents TypeScript error when usagePercent is possibly undefined - Defaults to 0 if undefined, showing green color Resolves TypeScript build error on line 462.

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