diff --git a/src/hooks/useAccounts.ts b/src/hooks/useAccounts.ts index f1723563..23b6c615 100644 --- a/src/hooks/useAccounts.ts +++ b/src/hooks/useAccounts.ts @@ -293,7 +293,9 @@ export function useAccounts() { async (accountId: string) => { try { await invokeBackend("delete_account", { accountId }); - await loadAccounts(); + // Account activation can change while deletion is in flight. Re-read + // backend metadata without discarding the latest cached usage. + await loadAccounts(true); } catch (err) { throw err; }