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

Function logAndCopyLink

packages/shared/src/components/ShareBar.tsx:81–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 };
80
81 const logAndCopyLink = async () => {
82 const shortLink = await getShortUrl(href, cid);
83 copyLink({ link: shortLink });
84 logShareEvent(ShareProvider.CopyLink);
85 };
86
87 const onShareToSquad = (squad: Squad) => {
88 logEvent(postLogEvent(LogEvent.StartShareToSquad, post));

Callers 3

InviteRowFunction · 0.50
SquadManageSeatsFunction · 0.50
SquadOptionsMenuFunction · 0.50

Calls 2

logShareEventFunction · 0.70
copyLinkFunction · 0.50

Tested by

no test coverage detected