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

Function findSource

packages/shared/src/components/bookmark/BookmarkFilters.tsx:62–65  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

60 }));
61
62 const findSource = (id: string) =>
63 [...(facets?.sources ?? []), ...(facets?.squads ?? [])].find(
64 (facet) => facet.id === id,
65 );
66 const removeIcon = (
67 <MiniCloseIcon size={IconSize.XSmall} className="-mr-1" aria-hidden />
68 );

Callers 1

BookmarkFiltersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected