From 1af3fa23d6fe4b92d80c3f3c5d433cad2356ed5d Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 21:35:42 +0000 Subject: [PATCH] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/routes/admin.agente.$id.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/routes/admin.agente.$id.tsx b/src/routes/admin.agente.$id.tsx index 7ac6c74..f4654d2 100644 --- a/src/routes/admin.agente.$id.tsx +++ b/src/routes/admin.agente.$id.tsx @@ -232,7 +232,12 @@ function AgentDetailPage() { } }, [roleLoading, isAdmin, navigate]); - if (authLoading || roleLoading || agentLoading) { + console.log("[admin.agente] render", { + id, authLoading, roleLoading, agentLoading, + isAdmin, hasUser: !!user, hasAgent: !!agent, agentError, + }); + + if (authLoading || roleLoading) { return (