MCPcopy Create free account
hub / github.com/arctic-cli/interface / handleOpenChange

Function handleOpenChange

packages/ui/src/components/select-dialog.tsx:42–45  ·  view source on GitHub ↗
(open: boolean)

Source from the content-addressed store, hash-verified

40 }
41
42 const handleOpenChange = (open: boolean) => {
43 if (!open) setFilter("")
44 props.onOpenChange?.(open)
45 }
46
47 return (
48 <Dialog modal {...dialog} onOpenChange={handleOpenChange}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected