Based on the provided code snippet, here's a suggested GitHub issue title: "ContactFormModal: Duplicate Edit Contact Function Calls" This title captures the key issue of having two consecutive function calls to `editContactFn` with slightly different par
Bug Description
● Update(src/frontend/components/ContactFormModal.tsx)…
⎿ Updated src/frontend/components/ContactFormModal.tsx with 2 additions and 3 removals
524 const editContactFn = onSave as (_contactData: Partial<ContactCreatePayload>, _contactId: string) => Promise<void>;
525
526 // Since we're using the full ContactCreatePayload already,
527 // there's no need to filter the fields anymore
528
529 await editContactFn(filteredChanges, contact.contact_id);
527 // we can pass the changedData directly
528 await editContactFn(changedData, contact.contact_id);
529 } else {
530 // No changes to save
531 onClose();
✻ Resolving… (173s · ↑ 4.7k tokens · esc to interrupt)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Error compacting conversation Context left until auto-compact: 0%
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 0.2.122
- Feedback ID: 6fa91692-14eb-4a27-9cc5-e940e5a35bb8
Errors
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗