(item: FeedItem)
| 59 | feedName, |
| 60 | }: UsePostModalNavigationProps): UsePostModalNavigation => { |
| 61 | const isPostItem = (item: FeedItem) => |
| 62 | item.type === 'post' || isBoostedPostAd(item); |
| 63 | const router = useRouter(); |
| 64 | // special query params to track base pathnames and params for the post modal |
| 65 | const activeFeedName = router.query?.pmcid as string; |
no test coverage detected