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

Function onBoost

packages/shared/src/features/boost/BoostButton.tsx:51–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 const campaignId = post?.flags?.campaignId ?? undefined;
50
51 const onBoost = () =>
52 openModal({ type: LazyModal.BoostPost, props: { post, origin } });
53
54 const onViewBoost = () => router.push(getBoostManagerUrl(campaignId));
55

Callers

nothing calls this directly

Calls 1

openModalFunction · 0.85

Tested by

no test coverage detected