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

Function onBoost

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

Source from the content-addressed store, hash-verified

59 const permittedUser = permissions?.includes(SourcePermissions.BoostSquad);
60
61 const onBoost = () =>
62 openModal({
63 type: LazyModal.BoostSquad,
64 props: { squad, origin: Origin.SquadPage },
65 });
66
67 const onViewBoost = () => router.push(getBoostManagerUrl(campaignId));
68

Callers 1

onClickFunction · 0.70

Calls 1

openModalFunction · 0.85

Tested by

no test coverage detected