diff options
Diffstat (limited to 'src/screens/Search/components/ExploreTrendingTopics.tsx')
-rw-r--r-- | src/screens/Search/components/ExploreTrendingTopics.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screens/Search/components/ExploreTrendingTopics.tsx b/src/screens/Search/components/ExploreTrendingTopics.tsx index ca4fa6e5e..a010ad8dc 100644 --- a/src/screens/Search/components/ExploreTrendingTopics.tsx +++ b/src/screens/Search/components/ExploreTrendingTopics.tsx @@ -106,7 +106,12 @@ function Inner() { ) : !trending?.topics ? null : ( <> {trending.topics.map(topic => ( - <TrendingTopicLink key={topic.link} topic={topic}> + <TrendingTopicLink + key={topic.link} + topic={topic} + onPress={() => { + logEvent('trendingTopic:click', {context: 'explore'}) + }}> {({hovered}) => ( <TrendingTopic topic={topic} |