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