MCPcopy Create free account
hub / github.com/code100x/daily-code / handleClose

Function handleClose

apps/web/components/ContentSearch.tsx:108–113  ·  view source on GitHub ↗
(open: boolean)

Source from the content-addressed store, hash-verified

106 }, [selectedIndex]);
107
108 const handleClose = (open: boolean) => {
109 if (!open) {
110 setDialogOpen(false);
111 setInput("");
112 }
113 };
114
115 return (
116 <Dialog open={dialogOpen} onOpenChange={handleClose}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected