mirror of
https://github.com/zadam/trilium.git
synced 2026-06-11 23:12:12 +02:00
chore(core): crash due to dbReady before CLS init
This commit is contained in:
@@ -2,4 +2,7 @@ import { deferred } from "@triliumnext/commons";
|
||||
|
||||
export const dbReady = deferred<void>();
|
||||
|
||||
dbReady.resolve();
|
||||
// TODO: Proper impl.
|
||||
setTimeout(() => {
|
||||
dbReady.resolve();
|
||||
}, 850);
|
||||
|
||||
Reference in New Issue
Block a user