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

Function onBoost

packages/shared/src/features/boost/BoostSourceButton.tsx:58–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 const permittedUser = permissions?.includes(SourcePermissions.BoostSquad);
57
58 const onBoost = () =>
59 openModal({ type: LazyModal.BoostSquad, props: { squad } });
60
61 const onViewBoost = () =>
62 openModal({ type: LazyModal.BoostedCampaignView, props: { campaign } });

Callers 1

onClickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected