feat: jwt performance
This commit is contained in:
1 parent
3ec95e4377
commit
c39814047a
9 files changed
+204
-173
No files matched your search
@@ -23,7 +23,7 @@ export function getPageId() {
|
||||
return path ? path[2] : undefined;
|
||||
}
|
||||
|
||||
export async function sleep(delay?: number) {
|
||||
export async function sleep(delay = 100) {
|
||||
return new Promise(res => {
|
||||
window.setTimeout(() => {
|
||||
res(true);
|
||||
|
||||
Reference in new issue
Block a user