feat(tree): avoid async

This commit is contained in:
Elian Doran 2026-01-06 01:26:56 +02:00
parent d0cdcfc32c
commit dec4dafba6
No known key found for this signature in database

View File

@ -1807,11 +1807,8 @@ function buildEnhanceTitle() {
return;
}
const note = await froca.getNote(node.data.noteId, true);
if (!note) {
return;
}
const note = froca.getNoteFromCache(node.data.noteId);
if (!note) return;
const activeNoteContext = appContext.tabManager.getActiveContext();