mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 04:31:46 +02:00
fix: cursor jump when title is set from content
This commit is contained in:
@@ -89,8 +89,7 @@ function Editor({ noteId }) {
|
||||
editor.off("init", setContents);
|
||||
};
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [editorRef, contentType, sessionId]);
|
||||
}, [editorRef, contentType, sessionState]);
|
||||
|
||||
return (
|
||||
<Flex
|
||||
|
||||
Reference in New Issue
Block a user