filter out reference lists
This commit is contained in:
@@ -172,7 +172,7 @@ function WizardInner() {
|
||||
},
|
||||
)
|
||||
|
||||
navigation.navigate('StarterPack', {id: res.uri})
|
||||
navigation.replace('StarterPack', {id: res.uri})
|
||||
} catch (e) {
|
||||
// TODO add error to state
|
||||
console.error(e)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user