MCPcopy Create free account
hub / github.com/experdot/pointer / handleSelect

Function handleSelect

src/renderer/src/components/panels/Explorer.tsx:80–88  ·  view source on GitHub ↗
(id: string | null)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

openPageFunction · 0.85

Tested by

no test coverage detected