Skip to content

Build your personal knowledge base with Trilium Notes

fix(react/type_widgets): revision causes jump at start of editor (closes #7912)

Elian Doran9f74a54c0d7f
diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsx
index 07429b73c0..b14e079e75 100644
--- a/apps/client/src/widgets/react/hooks.tsx
+++ b/apps/client/src/widgets/react/hooks.tsx
@@ -484,8 +484,7 @@ export function useNoteBlob(note: FNote | null | undefined, componentId?: string
return;
}
- if (loadResults.hasRevisionForNote(note.noteId) ||
- loadResults.isNoteContentReloaded(note.noteId, componentId)) {
+ if (loadResults.isNoteContentReloaded(note.noteId, componentId)) {
refresh();
}
});