Only start getting schemas once on page load

This commit is contained in:
Misode
2021-06-25 03:01:27 +02:00
parent 373698ebbc
commit f2df089150
2 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,7 @@
export function isPromise(obj: any): obj is Promise<any> {
return typeof (obj as any)?.then === 'function'
}
const dec2hex = (dec: number) => ('0' + dec.toString(16)).substr(-2)
export function hexId(length = 12) {