kopia lustrzana https://github.com/cheeaun/phanpy
Fix trend links not respecting set instance
rodzic
6f3f83a620
commit
f8b5e9563c
|
@ -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');
|
||||
|
|
Ładowanie…
Reference in New Issue