Filter out followed users

This commit is contained in:
Eric Bailey
2024-08-08 09:38:28 -05:00
parent 1e3b2d6f42
commit d049554605
+6
View File
@@ -114,6 +114,12 @@ export function useSuggestedFollowsByActorQuery({did}: {did: string}) {
})
return res.data
},
select: data => {
data.suggestions = data.suggestions.filter(p => {
return !p.viewer?.following
})
return data
},
})
}