mirror of https://github.com/laurent22/joplin.git
parent
5e01f82474
commit
388b9b681d
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue