MCPcopy Create free account
hub / github.com/vercel/examples / close

Function close

python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:360–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358
359 React.useEffect(() => {
360 const close = () => setContextMenu(null)
361 window.addEventListener('click', close)
362 return () => {
363 window.removeEventListener('click', close)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected