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

Function isShareLinkClickCampaign

packages/shared/src/hooks/useShareLinkClick.ts:13–16  ·  view source on GitHub ↗
(
  campaign?: string | null,
)

Source from the content-addressed store, hash-verified

11]);
12
13export const isShareLinkClickCampaign = (
14 campaign?: string | null,
15): campaign is ReferralCampaignKey =>
16 !!campaign && SHARE_LINK_CLICK_CAMPAIGNS.has(campaign);
17
18interface UseShareLinkClickProps {
19 postId?: string | null;

Callers 3

useShareLinkClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected