Files
Momento/memento-note/components/note-inline-editor.tsx
sepehr a3651f1c96
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 44s
fix: remove useEffect([note]) that was killing auto-save in NoteInlineEditor
The useEffect synced local state from props but fired on every keystroke
because onChange updates the parent, which creates a new note prop reference.
This cleared the save timer and isDirty flag before auto-save could fire,
making notes unsavable in tabs view. The key prop with updatedAt already
handles the restore remount case.
2026-05-02 19:54:45 +02:00

38 KiB