MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / getAnnouncementKey

Function getAnnouncementKey

web/src/components/layout/HeaderBar.js:68–68  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

66 const announcements = statusState?.status?.announcements || [];
67
68 const getAnnouncementKey = (a) => `${a?.publishDate || ''}-${(a?.content || '').slice(0, 30)}`;
69
70 const calculateUnreadCount = () => {
71 if (!announcements.length) return 0;

Callers 2

calculateUnreadCountFunction · 0.85
getUnreadKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected