MCPcopy Create free account
hub / github.com/anus-dev/ANUS / useSettings

Function useSettings

packages/cli/src/ui/contexts/SettingsContext.tsx:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13);
14
15export const useSettings = () => {
16 const context = useContext(SettingsContext);
17 if (context === undefined) {
18 throw new Error('useSettings must be used within a SettingsProvider');
19 }
20 return context;
21};

Callers 1

RenderCodeBlockInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected