MCPcopy Create free account
hub / github.com/dailydotdev/apps / handleClick

Function handleClick

packages/shared/src/components/plus/PlusFAQ.tsx:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21const FAQItem = ({ item }: { item: FAQ }): ReactElement => {
22 const { logEvent } = useLogContext();
23 const handleClick = () => {
24 logEvent({
25 event_name: LogEvent.ClickPlusFaq,
26 target_id: item.question,
27 });
28 };
29
30 return (
31 <div className="rounded-10 bg-surface-float px-6 py-4">

Callers

nothing calls this directly

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected