(id: string | null)
| 78 | }, [activePageId]) |
| 79 | |
| 80 | const handleSelect = (id: string | null): void => { |
| 81 | setSelectedKey(id) |
| 82 | if (id) { |
| 83 | const page = pages.find((p) => p.id === id) |
| 84 | if (page) { |
| 85 | openPage(id, true) |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | const handleDoubleClick = (id: string, isFolder: boolean): void => { |
| 91 | if (!isFolder) { |
nothing calls this directly
no test coverage detected