MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / SyncAppStore

Function SyncAppStore

app/src/state/sync.tsx:5–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { useAppStore } from "./store";
4
5export function SyncAppStore() {
6 const utils = api.useContext();
7
8 const setApi = useAppStore((state) => state.setApi);
9
10 useEffect(() => {
11 setApi(utils);
12 }, [utils, setApi]);
13
14 return null;
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected