fix profiles query
This commit is contained in:
@@ -113,7 +113,7 @@ export function Provider({
|
||||
const createInitialState = (): State => {
|
||||
if (starterPack && AppBskyGraphStarterpack.isRecord(starterPack.record)) {
|
||||
return {
|
||||
canNext: false,
|
||||
canNext: true,
|
||||
currentStep: 'Details',
|
||||
name: starterPack.record.name,
|
||||
description: starterPack.record.description,
|
||||
|
||||
@@ -59,7 +59,7 @@ export function Wizard({
|
||||
const {data} = useListMembersQuery(listUri)
|
||||
const profiles = data?.pages.flatMap(p => p.items.map(i => i.subject))
|
||||
|
||||
if (name && rkey && !starterPack && (!listUri || (listUri && !profiles))) {
|
||||
if (name && rkey && (!starterPack || (starterPack && listUri && !profiles))) {
|
||||
return (
|
||||
<ListMaybePlaceholder
|
||||
isLoading={isLoadingDid || isLoadingStarterPack}
|
||||
|
||||
Reference in New Issue
Block a user