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

Function updateFormatter

client-next/src/app/settings/code/page.tsx:90–99  ·  view source on GitHub ↗
(id: string, next: any)

Source from the content-addressed store, hash-verified

88 };
89
90 const updateFormatter = (id: string, next: any) => {
91 if (!config) return;
92 saveConfig({
93 ...config,
94 formatter: {
95 ...(config.formatter || {}),
96 [id]: { ...(config.formatter?.[id] || {}), ...next },
97 },
98 });
99 };
100
101 return (
102 <div className="space-y-4">

Callers 1

CodeSettingsPageFunction · 0.85

Calls 1

saveConfigFunction · 0.50

Tested by

no test coverage detected