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

Function feedMenu

packages/shared/src/components/shell/HomeSegments.tsx:201–204  ·  view source on GitHub ↗
(title: string, editHref: string)

Source from the content-addressed store, hash-verified

199 const items: RowItem[] = [];
200
201 const feedMenu = (title: string, editHref: string): RowItem['menu'] => ({
202 ariaLabel: `${title}, feed options`,
203 onOpen: () => setOpenFeed({ title, editHref }),
204 });
205
206 // For you lights on `/` even when a custom default feed is the page, and
207 // then it must stay a link to /my-feed: the menu is the feed on screen's.

Callers 2

forYouMenuFunction · 0.85
HomeSegmentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected