zzz / frontend /src /routes /_oh.app /event-handler.tsx
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
414 Bytes
import React from "react";
import { useWSStatusChange } from "./hooks/use-ws-status-change";
import { useHandleWSEvents } from "./hooks/use-handle-ws-events";
import { useHandleRuntimeActive } from "./hooks/use-handle-runtime-active";
export function EventHandler({ children }: React.PropsWithChildren) {
useWSStatusChange();
useHandleWSEvents();
useHandleRuntimeActive();
return children;
}