mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Fix wrong feature detection for trending link posts
Ooops!
This commit is contained in:
parent
b351060fa7
commit
89a2e7de43
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue