From f8b5e9563c2f171567f6be9829c3e7533caa87b4 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 28 Feb 2024 11:27:48 +0800 Subject: [PATCH] Fix trend links not respecting set instance --- 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 5d293150..c107cc57 100644 --- a/src/pages/trending.jsx +++ b/src/pages/trending.jsx @@ -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');