fix: remove queryClient.invalidateQueries from title save to prevent parent re-render focus stealing

This commit is contained in:
Hermes
2026-08-01 13:27:08 +00:00
parent aa5da5d770
commit ac92284edd
+1
View File
@@ -40,6 +40,7 @@ const NoteEditor = memo(function NoteEditor({ initialContent, onSave, placeholde
suppressContentEditableWarning suppressContentEditableWarning
className="prose prose-sm dark:prose-invert max-w-none p-3 focus:outline-none min-h-[300px]" className="prose prose-sm dark:prose-invert max-w-none p-3 focus:outline-none min-h-[300px]"
onMouseDown={(e) => e.stopPropagation()} onMouseDown={(e) => e.stopPropagation()}
onKeyDown={(e) => e.stopPropagation()}
onBlur={handleBlur} onBlur={handleBlur}
/> />
</div> </div>