MCPcopy Create free account
hub / github.com/evolify/dumpfun / onOpenChange

Function onOpenChange

common/components/modal.tsx:19–23  ·  view source on GitHub ↗
(open: boolean)

Source from the content-addressed store, hash-verified

17 const isMobile = useMobile()
18
19 function onOpenChange(open: boolean) {
20 if (!open) {
21 onClose()
22 }
23 }
24
25 if (isMobile) {
26 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected