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

Function handleClose

apps/web/components/SearchDialog.tsx:106–110  ·  view source on GitHub ↗
(open: boolean)

Source from the content-addressed store, hash-verified

104 }, []);
105
106 function handleClose(open: boolean) {
107 if (!open) setDialogOpen(false);
108 setInput("");
109 endListening();
110 }
111
112 return (
113 <Dialog open={dialogOpen} onOpenChange={handleClose}>

Callers

nothing calls this directly

Calls 1

endListeningFunction · 0.85

Tested by

no test coverage detected