( container: HTMLElement, message: string, tone: "muted" | "error" = "muted", )
| 310 | } |
| 311 | |
| 312 | function renderStatus( |
| 313 | container: HTMLElement, |
| 314 | message: string, |
| 315 | tone: "muted" | "error" = "muted", |
| 316 | ): void { |
| 317 | unmountCurrentPayload(); |
| 318 | container.replaceChildren(element("div", { className: `status ${tone}`, text: message })); |
| 319 | } |
| 320 | |
| 321 | function renderPrePayload( |
| 322 | container: HTMLElement, |
no test coverage detected