Fixes and improvements related to components
This commit is contained in:
@@ -11,10 +11,6 @@ export function isNullOrUndefined(value: any) {
|
||||
return value === null || value === undefined;
|
||||
}
|
||||
|
||||
export function dictToArray<T>(dict: Record<any, T>) {
|
||||
return Object.keys(dict).map((key) => dict[key]!);
|
||||
}
|
||||
|
||||
export function getPlatformString() {
|
||||
try {
|
||||
const platform = navigator.platform.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user