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

Function getTopReaderTopicLabel

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

Source from the content-addressed store, hash-verified

260};
261
262export const getTopReaderTopicLabel = (
263 badge: Pick<TopReader, 'keyword'>,
264): string => badge.keyword.flags?.title || badge.keyword.value;
265
266const sortAwardsByCount = (
267 awards: UserProductSummary[],

Callers 3

GameCenterPageFunction · 0.90
gameCenter.spec.tsFile · 0.90
getBadgeSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected