little bit of ui clean up and fixing the platform labels/keys
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// lib/platforms.ts
|
||||
export function normalizePlatformKey(p?: string | null): string {
|
||||
return (p ?? "")
|
||||
.trim()
|
||||
.toUpperCase()
|
||||
.replace(/[^A-Z0-9]/g, "");
|
||||
}
|
||||
Reference in New Issue
Block a user