little bit of ui clean up and fixing the platform labels/keys

This commit is contained in:
2026-01-05 13:47:59 -05:00
parent b7e3db8d34
commit 055ebb4cd9
7 changed files with 601 additions and 326 deletions
+7
View File
@@ -0,0 +1,7 @@
// lib/platforms.ts
export function normalizePlatformKey(p?: string | null): string {
return (p ?? "")
.trim()
.toUpperCase()
.replace(/[^A-Z0-9]/g, "");
}