MCPcopy
hub / github.com/anomalyco/opencode / handleClickOutside

Function handleClickOutside

packages/console/app/src/component/header.tsx:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49 createEffect(() => {
50 const handleClickOutside = () => {
51 setStore("contextMenuOpen", false)
52 }
53
54 const handleContextMenu = (event: MouseEvent) => {
55 event.preventDefault()

Callers

nothing calls this directly

Calls 1

setStoreFunction · 0.85

Tested by

no test coverage detected