diff --git a/src/index.tsx b/src/index.tsx index 2ca5ae4..8270e63 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -126,6 +126,10 @@ export function AgentDock({ useEffect(() => { let cancelled = false + // Clear any prior failure so a retry (e.g. tenant id arrives after + // the first render) gets a clean slate — otherwise the flag latches + // and the FAB stays hidden forever even once resolution succeeds. + setResolveFailed(false) resolveAgents() .then((list) => { if (cancelled) return