Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsxindex 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?: stringreturn;}- if (loadResults.hasRevisionForNote(note.noteId) ||- loadResults.isNoteContentReloaded(note.noteId, componentId)) {+ if (loadResults.isNoteContentReloaded(note.noteId, componentId)) {refresh();}});