From a07cadd4d84a101938c0a5d22c85162a7492b91a Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 20:06:20 -0700 Subject: [PATCH] cleanup --- src/screens/StarterPack/Wizard/index.tsx | 26 ++++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index 43e9229588..0c6e2dd409 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -89,23 +89,31 @@ export function Wizard({ } = useProfileQuery({did: currentAccount?.did}) if ( - name && - rkey && - (!starterPack || (starterPack && listUri && !listItems)) + (name && + rkey && + (!starterPack || (starterPack && listUri && !listItems))) || + !profile ) { return ( ) - } else if (!profile) { + } else if (name && rkey && starterPack?.creator.did !== currentAccount?.did) { return ( ) }