build notes fix

This commit is contained in:
nmemmert
2026-06-18 13:46:41 -04:00
parent dd43d0c3ea
commit b77aba0167
2 changed files with 1 additions and 21 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export function NoteCard({ anchorLabel, html, autoSaveMsg, onChange, onClose }:
useEffect(() => {
if (!editor || editor.isDestroyed) return
if (editor.getHTML() !== html) {
editor.commands.setContent(html || '<p></p>', false)
editor.commands.setContent(html || '<p></p>', { emitUpdate: false })
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [html])