mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: jwt performance
This commit is contained in:
@@ -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