MCPcopy Index your code
hub / github.com/winfunc/opcode / updateSetting

Function updateSetting

src/components/Settings.tsx:253–255  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

251 * Updates a simple setting value
252 */
253 const updateSetting = (key: string, value: any) => {
254 setSettings(prev => ({ ...prev, [key]: value }));
255 };
256
257 /**
258 * Adds a new permission rule

Callers 1

SettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected