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

Function VoiceProvider

src/context/voice.tsx:23–39  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

21 children: React.ReactNode;
22};
23export function VoiceProvider(t0) {
24 const $ = _c(3);
25 const {
26 children
27 } = t0;
28 const [store] = useState(_temp);
29 let t1;
30 if ($[0] !== children || $[1] !== store) {
31 t1 = <VoiceContext.Provider value={store}>{children}</VoiceContext.Provider>;
32 $[0] = children;
33 $[1] = store;
34 $[2] = t1;
35 } else {
36 t1 = $[2];
37 }
38 return t1;
39}
40function _temp() {
41 return createStore(DEFAULT_STATE);
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected