(id: string, next: any)
| 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"> |
no test coverage detected