()
| 445 | !!props.search && |
| 446 | [...props.search.match.children.values()].some((child) => child.hasMatch) |
| 447 | const isExpanded = () => expanded() || hasSearchMatchingChild() |
| 448 | const toggleExpanded = () => { |
| 449 | if (!hasSearchMatchingChild()) setExpanded((old) => !old) |
| 450 | } |
no test coverage detected