()
| 51 | const isFolder = node.type === "folder"; |
| 52 | |
| 53 | const handleClick = () => { |
| 54 | if (isFolder) { |
| 55 | setIsExpanded(!isExpanded); |
| 56 | } else { |
| 57 | onSelect(node.path); |
| 58 | } |
| 59 | }; |
| 60 | |
| 61 | const Icon = isFolder |
| 62 | ? isExpanded |
nothing calls this directly
no outgoing calls
no test coverage detected