(
post: Post,
index: number,
row: number,
column: number,
isAd?: boolean,
)
| 687 | }; |
| 688 | |
| 689 | const onCommentClick = ( |
| 690 | post: Post, |
| 691 | index: number, |
| 692 | row: number, |
| 693 | column: number, |
| 694 | isAd?: boolean, |
| 695 | ): void => { |
| 696 | logEvent( |
| 697 | postLogEvent(LogEvent.CommentsClick, post, { |
| 698 | columns: virtualizedNumCards, |
| 699 | column, |
| 700 | row, |
| 701 | index, |
| 702 | ...feedLogExtra(feedName, ranking, searchLogExtra), |
| 703 | is_ad: isAd, |
| 704 | }), |
| 705 | ); |
| 706 | if (!shouldUseListFeedLayout || isReaderEligiblePost(post)) { |
| 707 | onPostModalOpen({ index, row, column }); |
| 708 | } |
| 709 | }; |
| 710 | |
| 711 | if (isError) { |
| 712 | return <FeedErrorScreen error={feedError} />; |
no test coverage detected