(host: string)
| 479 | : null; |
| 480 | |
| 481 | const toggleHost = (host: string) => { |
| 482 | setExpandedHosts((prev) => { |
| 483 | const next = new Set(prev); |
| 484 | if (next.has(host)) { |
| 485 | next.delete(host); |
| 486 | } else { |
| 487 | next.add(host); |
| 488 | } |
| 489 | return next; |
| 490 | }); |
| 491 | }; |
| 492 | |
| 493 | // Auto-expand all hosts on first render |
| 494 | useEffect(() => { |
no test coverage detected