What is wrong
The save button stays active during the request; fast double clicks insert two rows.
Impact: Corrupted user data and confused customers.
Evidence (fixture)
src/components/NoteEditor.tsx:58–74 · commit a3f9c21
onClick={save} // no pending guard (fixture)Expected
One note per save.Observed
Two identical rows after a double click in the demo reproduction.Recommended fix
Disable the button while pending and add an idempotency key.
Repair prompt for your AI builder
In NoteEditor.tsx disable the save button while the request is pending and make the insert idempotent with a client-generated id.
Paste it into Lovable, Claude Code, Cursor or Codex.