mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01: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
|
// Get links
|
||||||
try {
|
try {
|
||||||
const { value } = await fetchLinks(masto);
|
const { value } = await fetchLinks(masto, instance);
|
||||||
// 4 types available: link, photo, video, rich
|
// 4 types available: link, photo, video, rich
|
||||||
// Only want links for now
|
// Only want links for now
|
||||||
const links = value?.filter?.((link) => link.type === 'link');
|
const links = value?.filter?.((link) => link.type === 'link');
|
||||||
|
|
Loading…
Reference in a new issue