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

pull/9112/head
Henry Heino 2023-10-24 02:47:19 -07:00 committed by GitHub
parent 5e01f82474
commit 388b9b681d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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 = {