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

Function handleReadClick

packages/shared/src/components/post/PostContent.tsx:114–119  ·  view source on GitHub ↗
(event: React.MouseEvent<HTMLAnchorElement>)

Source from the content-addressed store, hash-verified

112 },
113 );
114 const handleReadClick = (event: React.MouseEvent<HTMLAnchorElement>) => {
115 if (onReaderInstallGateClick(event)) {
116 return;
117 }
118 onReadArticle();
119 };
120 const showCodeSnippets = useFeature(feature.showCodeSnippets);
121 const { title } = useSmartTitle(post);
122 const communitySentimentData = post.communitySentiment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected