fix(admin): prefer non-anonymized map locations
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
type UnknownMap = Record<string, unknown>;
|
||||
|
||||
export const MAP_LOCATION_CLASSIFICATIONS = ["clear", "hosting"] as const;
|
||||
|
||||
function objectValue(value: unknown): UnknownMap | null {
|
||||
return value && typeof value === "object" && !Array.isArray(value)
|
||||
? value as UnknownMap
|
||||
|
||||
Reference in New Issue
Block a user