1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Fixes #9115: Beta editor: Improve performance on large documents (#9116)

This commit is contained in:
Henry Heino
2023-10-24 02:47:19 -07:00
committed by GitHub
parent 5e01f82474
commit 388b9b681d

View File

@ -391,8 +391,7 @@ function NoteEditor(props: NoteEditorProps) {
noteId: formNoteRef.current.id,
percent: event.percent,
});
// eslint-disable-next-line @seiyab/react-hooks/exhaustive-deps -- Old code before rule was applied
}, [props.dispatch, formNote]);
}, [props.dispatch]);
function renderNoNotes(rootStyle: any) {
const emptyDivStyle = {