mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 17:25:40 +03:00
Fix trend links not respecting set instance
This commit is contained in:
parent
6f3f83a620
commit
f8b5e9563c
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue