(
post: Post,
index: number,
row: number,
column: number,
isAd?: boolean,
)
| 736 | }; |
| 737 | |
| 738 | const onCommentClick = ( |
| 739 | post: Post, |
| 740 | index: number, |
| 741 | row: number, |
| 742 | column: number, |
| 743 | isAd?: boolean, |
| 744 | ): void => { |
| 745 | logEvent( |
| 746 | postLogEvent(LogEvent.CommentsClick, post, { |
| 747 | columns: virtualizedNumCards, |
| 748 | column, |
| 749 | row, |
| 750 | index, |
| 751 | ...feedLogExtra(feedName, ranking, searchLogExtra), |
| 752 | is_ad: isAd, |
| 753 | }), |
| 754 | ); |
| 755 | if (!shouldUseListFeedLayout || isReaderEligiblePost(post)) { |
| 756 | onPostModalOpen({ index, row, column }); |
| 757 | } |
| 758 | }; |
| 759 | |
| 760 | if (isError) { |
| 761 | return <FeedErrorScreen error={feedError} />; |
no test coverage detected