diff --git a/components/dashboard/TechSpecs.tsx b/components/dashboard/TechSpecs.tsx index bd39109..6139ec9 100644 --- a/components/dashboard/TechSpecs.tsx +++ b/components/dashboard/TechSpecs.tsx @@ -30,6 +30,8 @@ type Tab = 'browsers' | 'os' | 'devices' | 'screens' function capitalize(s: string): string { if (!s) return s + // Preserve intentional casing (e.g. macOS, iOS, webOS, ChromeOS, FreeBSD) + if (s !== s.toLowerCase() && s !== s.toUpperCase()) return s return s.charAt(0).toUpperCase() + s.slice(1) }