From 89a2e7de43b32bfc74a659f2ec48adf274758199 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 15 Aug 2024 17:34:54 +0800 Subject: [PATCH] Fix wrong feature detection for trending link posts Ooops! --- src/pages/trending.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/trending.jsx b/src/pages/trending.jsx index 2e2b8bcd..6dfca76c 100644 --- a/src/pages/trending.jsx +++ b/src/pages/trending.jsx @@ -140,7 +140,7 @@ function Trending({ columnMode, ...props }) { const hasCurrentLink = !!currentLink; const currentLinkRef = useRef(); const supportsTrendingLinkPosts = - sameCurrentInstance && supports('@mastodon/trending-hashtags'); + sameCurrentInstance && supports('@mastodon/trending-link-posts'); useEffect(() => { if (currentLink && currentLinkRef.current) {