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

Function onArticleState

packages/shared/src/components/shell/ReadingDrawer.tsx:824–826  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

822 }
823 };
824 const onArticleState = (event: Event) => {
825 updateReadingArticle((event as CustomEvent<ReadingArticle>).detail ?? {});
826 };
827 // The wrapper hands back links to the app found inside the article.
828 const onArticleLink = (event: Event) => {
829 const { url } = (event as CustomEvent<{ url: string }>).detail ?? {};

Callers

nothing calls this directly

Calls 1

updateReadingArticleFunction · 0.90

Tested by

no test coverage detected