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

Function onMenuClick

src/renderer/src/components/panels/Explorer.tsx:301–304  ·  view source on GitHub ↗
({ key })

Source from the content-addressed store, hash-verified

299 ]
300
301 const onMenuClick: MenuProps['onClick'] = ({ key }) => {
302 if (key === 'folder') handleCreateFolder()
303 else if (key === 'multiSelect') handleToggleMultiSelect()
304 }
305
306 const isEmpty = pages.length === 0 && folders.length === 0
307

Callers

nothing calls this directly

Calls 2

handleCreateFolderFunction · 0.70
handleToggleMultiSelectFunction · 0.70

Tested by

no test coverage detected