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

Function getTopReaderTopicLabel

packages/webapp/lib/gameCenter.ts:309–311  ·  view source on GitHub ↗
(
  badge: Pick<TopReader, 'keyword'>,
)

Source from the content-addressed store, hash-verified

307};
308
309export const getTopReaderTopicLabel = (
310 badge: Pick<TopReader, 'keyword'>,
311): string => badge.keyword.flags?.title || badge.keyword.value;
312
313const sortAwardsByCount = (
314 awards: UserProductSummary[],

Callers 2

gameCenter.spec.tsFile · 0.90
getBadgeSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected