MCPcopy
hub / github.com/codeaashu/claude-code / useVoiceStore

Function useVoiceStore

src/context/voice.tsx:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 return createStore(DEFAULT_STATE);
42}
43function useVoiceStore() {
44 const store = useContext(VoiceContext);
45 if (!store) {
46 throw new Error("useVoiceState must be used within a VoiceProvider");
47 }
48 return store;
49}
50
51/**
52 * Subscribe to a slice of voice state. Only re-renders when the selected

Callers 3

useVoiceStateFunction · 0.85
useSetVoiceStateFunction · 0.85
useGetVoiceStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected