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

Function runMenu

packages/shared/src/components/shell/ReadingDrawer.tsx:959–962  ·  view source on GitHub ↗
(action: () => void)

Source from the content-addressed store, hash-verified

957 };
958
959 const runMenu = (action: () => void) => () => {
960 setIsMenuOpen(false);
961 action();
962 };
963
964 const host = hostOf(article.url);
965 const title = getPostTitle(post);

Callers 1

ReadingDrawerFunction · 0.70

Calls 1

actionFunction · 0.85

Tested by

no test coverage detected