use real info on starter pack card

This commit is contained in:
Hailey
2024-06-06 23:23:52 -07:00
parent 146a0641d6
commit 9644e745e5
2 changed files with 33 additions and 14 deletions
+6 -9
View File
@@ -27,15 +27,12 @@ export function useProfileListsQuery(did: string, opts?: {enabled?: boolean}) {
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',
// ),
// }
return {
...res.data,
lists: res.data.lists.filter(
l => l.purpose !== 'app.bsky.graph.defs#referencelist',
),
}
},
initialPageParam: undefined,
getNextPageParam: lastPage => lastPage.cursor,