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

Function handleFAQChange

packages/shared/src/features/ask/components/AskFAQ.tsx:44–52  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

42 const { logEvent } = useLogContext();
43
44 const handleFAQChange = (value: string) => {
45 if (value) {
46 logEvent({
47 event_name: LogEvent.Click,
48 target_id: TargetId.AskPage,
49 extra: JSON.stringify({ faq: value }),
50 });
51 }
52 };
53
54 return (
55 <FlexCol className="w-full gap-10 pb-10">

Callers

nothing calls this directly

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected