MCPcopy Create free account
hub / github.com/Microck/opencode-studio / toggleSection

Function toggleSection

client-next/src/app/settings/page.tsx:78–80  ·  view source on GitHub ↗
(section: string)

Source from the content-addressed store, hash-verified

76
77
78 const toggleSection = (section: string) => {
79 setOpenSections(prev => ({ ...prev, [section]: !prev[section] }));
80 };
81
82 useEffect(() => {
83 getPaths().then(setPathsInfo).catch(console.error);

Callers 1

SettingsPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected