Don't set onlyMedia if not set

This defaults to false for Mastodon, but true for Pixelfed
pull/501/head
Lim Chee Aun 2024-04-13 00:07:48 +08:00
rodzic e782cc0dde
commit 501e43207b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -73,7 +73,7 @@ function Hashtags({ media: mediaView, columnMode, ...props }) {
limit: LIMIT,
any: hashtags.slice(1),
maxId: firstLoad ? undefined : maxID.current,
onlyMedia: media,
onlyMedia: media ? true : undefined,
})
.next();
let { value } = results;