Fix trend links not respecting set instance

pull/441/head
Lim Chee Aun 2024-02-28 11:27:48 +08:00
rodzic 6f3f83a620
commit f8b5e9563c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -67,7 +67,7 @@ function Trending({ columnMode, ...props }) {
// Get links
try {
const { value } = await fetchLinks(masto);
const { value } = await fetchLinks(masto, instance);
// 4 types available: link, photo, video, rich
// Only want links for now
const links = value?.filter?.((link) => link.type === 'link');