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

Function log

packages/shared/src/features/patchy/PatchyMenu.tsx:285–291  ·  view source on GitHub ↗
(item: MenuItem)

Source from the content-addressed store, hash-verified

283 const items = getItems();
284
285 const log = (item: MenuItem) =>
286 logEvent({
287 event_name: LogEvent.Click,
288 target_type: TargetType.PatchyMenu,
289 target_id: item.id,
290 extra: JSON.stringify({ context: context.kind }),
291 });
292
293 const togglePicks = (item: MenuItem) => {
294 if (!item.picks) {

Callers 2

togglePicksFunction · 0.70
PatchyMenuFunction · 0.70

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected