mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 12:16:49 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
5db84804de
commit
76473fa0df
1 changed files with 2 additions and 1 deletions
|
|
@ -91,11 +91,12 @@ function AgentDetailPage() {
|
|||
},
|
||||
});
|
||||
|
||||
const { data: agent, isLoading: agentLoading } = useQuery({
|
||||
const { data: agent, isLoading: agentLoading, error: agentError } = useQuery({
|
||||
queryKey: ["agent-detail", id],
|
||||
enabled: !!isAdmin,
|
||||
refetchInterval: 10_000,
|
||||
queryFn: async () => {
|
||||
console.log("[admin.agente] fetching agent detail", { id });
|
||||
const { data, error } = await supabase
|
||||
.from("agent_instances")
|
||||
.select(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue