Fix admin layout and data refresh after update/delete

This commit is contained in:
Francis Cao 2025-10-29 11:04:54 -07:00
parent c81b1c16c8
commit ef55b63a3b
5 changed files with 29 additions and 13 deletions

View file

@ -22,6 +22,7 @@ export function UserEditForm({ userId, onSave }: { userId: string; onSave?: () =
await mutateAsync(data, {
onSuccess: async () => {
toast(formatMessage(messages.saved));
touch('users');
touch(`user:${user.id}`);
onSave?.();
},