(next: RoutingConfigState)
| 71 | const modeSwitchBusy = busyKey?.startsWith("mode:") ?? false; |
| 72 | |
| 73 | function applyConfig(next: RoutingConfigState) { |
| 74 | setConfig(next); |
| 75 | setDrafts(buildDrafts(next)); |
| 76 | } |
| 77 | |
| 78 | function showNotice(text: string, tone: NoticeState["tone"] = "success") { |
| 79 | setNotice({ text, tone }); |
no test coverage detected