MCPcopy Create free account
hub / github.com/winfunc/opcode / handleDecline

Function handleDecline

src/components/AnalyticsConsent.tsx:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 };
57
58 const handleDecline = async () => {
59 await analytics.disable();
60 handleOpenChange(false);
61 onComplete?.();
62 };
63
64 return (
65 <Dialog open={open} onOpenChange={handleOpenChange}>

Callers

nothing calls this directly

Calls 2

handleOpenChangeFunction · 0.85
disableMethod · 0.80

Tested by

no test coverage detected