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

Function handleAccept

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

Source from the content-addressed store, hash-verified

50 };
51
52 const handleAccept = async () => {
53 await analytics.enable();
54 handleOpenChange(false);
55 onComplete?.();
56 };
57
58 const handleDecline = async () => {
59 await analytics.disable();

Callers

nothing calls this directly

Calls 2

handleOpenChangeFunction · 0.85
enableMethod · 0.80

Tested by

no test coverage detected