(action: AdActions, ad: Ad)
| 373 | }); |
| 374 | |
| 375 | const onAdAction = (action: AdActions, ad: Ad) => { |
| 376 | logEvent( |
| 377 | adLogEvent(action, ad, { |
| 378 | columns: virtualizedNumCards, |
| 379 | column, |
| 380 | row, |
| 381 | ...feedLogExtra(feedName, ranking), |
| 382 | }), |
| 383 | ); |
| 384 | }; |
| 385 | |
| 386 | if (item.type === FeedItemType.Ad && isBoostedSquadAd(item)) { |
| 387 | return ( |
no test coverage detected