use real info on starter pack card
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user