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

Function onBoostPost

packages/shared/src/features/posts/PostOptionButton.tsx:562–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560 }
561
562 const onBoostPost = () => {
563 openModal({
564 type: LazyModal.BoostPost,
565 props: {
566 post,
567 origin: Origin.PostContextMenu,
568 },
569 });
570 };
571
572 if (canBoost) {
573 const isBoosted = !!post?.flags?.campaignId;

Callers 1

onButtonClickFunction · 0.85

Calls 1

openModalFunction · 0.85

Tested by

no test coverage detected