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

This commit is contained in:
Elian Doran 2025-12-02 10:06:08 +02:00
parent a7870495ac
commit 9f74a54c0d
No known key found for this signature in database

View File

@ -484,8 +484,7 @@ export function useNoteBlob(note: FNote | null | undefined, componentId?: string
return; return;
} }
if (loadResults.hasRevisionForNote(note.noteId) || if (loadResults.isNoteContentReloaded(note.noteId, componentId)) {
loadResults.isNoteContentReloaded(note.noteId, componentId)) {
refresh(); refresh();
} }
}); });