(
post: Post,
index: number,
row: number,
column: number,
isAd?: boolean,
)
| 708 | }; |
| 709 | |
| 710 | const onCommentClick = ( |
| 711 | post: Post, |
| 712 | index: number, |
| 713 | row: number, |
| 714 | column: number, |
| 715 | isAd?: boolean, |
| 716 | ): void => { |
| 717 | logEvent( |
| 718 | postLogEvent(LogEvent.CommentsClick, post, { |
| 719 | columns: virtualizedNumCards, |
| 720 | column, |
| 721 | row, |
| 722 | index, |
| 723 | ...feedLogExtra(feedName, ranking, searchLogExtra), |
| 724 | is_ad: isAd, |
| 725 | }), |
| 726 | ); |
| 727 | if (!shouldUseListFeedLayout || isReaderEligiblePost(post)) { |
| 728 | onPostModalOpen({ index, row, column }); |
| 729 | } |
| 730 | }; |
| 731 | |
| 732 | if (isError) { |
| 733 | return <FeedErrorScreen error={feedError} />; |
no test coverage detected