Skip to content

#652 Fix Save Button On Edit Spending Category Form#660

Open
b-at-neu wants to merge 3 commits intodevfrom
652-edit-spending-category-save
Open

#652 Fix Save Button On Edit Spending Category Form#660
b-at-neu wants to merge 3 commits intodevfrom
652-edit-spending-category-save

Conversation

@b-at-neu
Copy link
Copy Markdown
Collaborator

Closes #652

The onSuccess callback in the edit category onSubmit was only calling setOpen(false), so the UI never reflected the saved changes. Added queryClient.invalidateQueries to bust the categories cache and router.refresh() to update server component data — matching the pattern already used in the delete flow.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vaultz Error Error Apr 11, 2026 3:40am

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking save on the edit spending category form doesn't do anything

1 participant