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

Function onCopy

packages/shared/src/components/post/focus/DiscussionShareRow.tsx:90–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 };
89
90 const onCopy = async () => {
91 const shortLink = await getShortUrl(href, cid);
92 copyLink({ link: shortLink });
93 logShareEvent(ShareProvider.CopyLink);
94 };
95
96 const onMore = () =>
97 openModal({

Callers 3

codeFunction · 0.85
onCopyClickFunction · 0.85
onClickFunction · 0.85

Calls 1

logShareEventFunction · 0.70

Tested by

no test coverage detected