chore(core): crash due to dbReady before CLS init

This commit is contained in:
Elian Doran 2026-01-06 16:30:45 +02:00
parent 8399600e79
commit 7c16aeca4a
No known key found for this signature in database

View File

@ -2,4 +2,7 @@ import { deferred } from "@triliumnext/commons";
export const dbReady = deferred<void>(); export const dbReady = deferred<void>();
dbReady.resolve(); // TODO: Proper impl.
setTimeout(() => {
dbReady.resolve();
}, 850);