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

Function countSignals

packages/shared/src/hooks/picks/useWeeklyPicksHero.ts:87–88  ·  view source on GitHub ↗
(signals: PicksWeekSignals)

Source from the content-addressed store, hash-verified

85}
86
87export const countSignals = (signals: PicksWeekSignals): number =>
88 signals.upvotes + signals.bookmarks + signals.reads;
89
90/**
91 * The home feed's weekly picks card. Members in the rollout see it from

Callers 2

getNudgeHeadlineFunction · 0.90
useWeeklyPicksHeroFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected