From dae6ea0bcd791dd816ac9c45bae6f3ca1860433c Mon Sep 17 00:00:00 2001 From: Hailey Date: Sun, 9 Jun 2024 17:02:14 -0700 Subject: [PATCH] fix profiles query --- src/screens/StarterPack/Wizard/State.tsx | 2 +- src/screens/StarterPack/Wizard/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/StarterPack/Wizard/State.tsx b/src/screens/StarterPack/Wizard/State.tsx index 356c91591a..0b52593be9 100644 --- a/src/screens/StarterPack/Wizard/State.tsx +++ b/src/screens/StarterPack/Wizard/State.tsx @@ -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, diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index 84c4369d2d..118263850e 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -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 (