MCPcopy Create free account
hub / github.com/codeaashu/claude-code / handler

Function handler

web/components/notifications/NotificationCenter.tsx:33–40  ·  view source on GitHub ↗
(e: MouseEvent)

Source from the content-addressed store, hash-verified

31 if (!isOpen) return;
32
33 const handler = (e: MouseEvent) => {
34 if (
35 containerRef.current &&
36 !containerRef.current.contains(e.target as Node)
37 ) {
38 setIsOpen(false);
39 }
40 };
41
42 document.addEventListener("mousedown", handler);
43 return () => document.removeEventListener("mousedown", handler);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected