()
| 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; |
no test coverage detected