(patch)
| 118 | } |
| 119 | |
| 120 | export function writeLocalConfig(patch) { |
| 121 | const current = readLocalStorage() ?? {}; |
| 122 | const next = mergeConfigs(current, patch); |
| 123 | localStorage.setItem(STORAGE_KEY, JSON.stringify(next)); |
| 124 | return next; |
| 125 | } |
| 126 | |
| 127 | export function clearLocalConfigSection(section) { |
| 128 | const current = readLocalStorage() ?? {}; |
no test coverage detected