Co-authored-by: codex <[email protected]> Co-authored-by: Cursor Agent <[email protected]>
11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
import { useEffect } from "react";
|
|
|
|
import { getWsRpcClient } from "../wsRpcClient";
|
|
import { startServerStateSync } from "./serverState";
|
|
|
|
export function ServerStateBootstrap() {
|
|
useEffect(() => startServerStateSync(getWsRpcClient().server), []);
|
|
|
|
return null;
|
|
}
|