filter out reference lists

This commit is contained in:
Hailey
2024-06-06 21:04:39 -07:00
parent e89a3270ea
commit 2e51c48db3
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -26,7 +26,16 @@ export function useProfileListsQuery(did: string, opts?: {enabled?: boolean}) {
limit: PAGE_SIZE,
cursor: pageParam,
})
return res.data
// TODO filter out reference lists
// return {
// ...res.data,
// lists: res.data.lists.filter(
// l => l.purpose !== 'app.bsky.graph.defs#referencelist',
// ),
// }
},
initialPageParam: undefined,
getNextPageParam: lastPage => lastPage.cursor,