MCPcopy Create free account
hub / github.com/codeaashu/claude-code / FpsMetricsProvider

Function FpsMetricsProvider

src/context/fpsMetrics.tsx:10–26  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

8 children: React.ReactNode;
9};
10export function FpsMetricsProvider(t0) {
11 const $ = _c(3);
12 const {
13 getFpsMetrics,
14 children
15 } = t0;
16 let t1;
17 if ($[0] !== children || $[1] !== getFpsMetrics) {
18 t1 = <FpsMetricsContext.Provider value={getFpsMetrics}>{children}</FpsMetricsContext.Provider>;
19 $[0] = children;
20 $[1] = getFpsMetrics;
21 $[2] = t1;
22 } else {
23 t1 = $[2];
24 }
25 return t1;
26}
27export function useFpsMetrics() {
28 return useContext(FpsMetricsContext);
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected