Spaces:
Paused
Paused
Download console/src/components/AgentStatusPollingController/index.tsx from mysticaldragon/HF: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/AgentStatusPollingController/index.tsx
- Command line
-
hf download hf://spaces/mysticaldragon/HF/console/src/components/AgentStatusPollingController/index.tsx
-
curl -L -o index.tsx https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/AgentStatusPollingController/index.tsx
368 Bytes
| import { useAgentStatusPolling } from "@/hooks/useAgentStatusPolling"; | |
| import { useAgentStore } from "@/stores/agentStore"; | |
| export function AgentStatusPollingController() { | |
| const agents = useAgentStore((state) => state.agents); | |
| const refreshAgents = useAgentStore((state) => state.refreshAgents); | |
| useAgentStatusPolling(agents, refreshAgents); | |
| return null; | |
| } | |