Download src/wrapper/event-handler.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/wrapper/event-handler.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/wrapper/event-handler.tsx
-
curl -L -o event-handler.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/wrapper/event-handler.tsx
315 Bytes
| import React from "react"; | |
| import { useHandleWSEvents } from "../hooks/use-handle-ws-events"; | |
| import { useHandleRuntimeActive } from "../hooks/use-handle-runtime-active"; | |
| export function EventHandler({ children }: React.PropsWithChildren) { | |
| useHandleWSEvents(); | |
| useHandleRuntimeActive(); | |
| return children; | |
| } | |