Bluesky app fork with some witchin' additions 💫

Use Tanstack Query status over isPending

DS Boyce 54598571 e2058c8e

+3 -3
+3 -3
src/view/screens/Profile.tsx
··· 79 data: resolvedDid, 80 error: resolveError, 81 refetch: refetchDid, 82 - isLoading: isLoadingDid, 83 } = useResolveDidQuery(name) 84 const { 85 data: profile, 86 error: profileError, 87 refetch: refetchProfile, 88 - isLoading: isLoadingProfile, 89 isPlaceholderData: isPlaceholderProfile, 90 } = useProfileQuery({ 91 did: resolvedDid, 92 }) ··· 117 }, [queryClient, profile?.viewer?.blockedBy, resolvedDid]) 118 119 // Most pushes will happen here, since we will have only placeholder data 120 - if (isLoadingDid || isLoadingProfile) { 121 return ( 122 <Layout.Content> 123 <ProfileHeaderLoading />
··· 79 data: resolvedDid, 80 error: resolveError, 81 refetch: refetchDid, 82 + status: didStatus, 83 } = useResolveDidQuery(name) 84 const { 85 data: profile, 86 error: profileError, 87 refetch: refetchProfile, 88 isPlaceholderData: isPlaceholderProfile, 89 + status: profileStatus, 90 } = useProfileQuery({ 91 did: resolvedDid, 92 }) ··· 117 }, [queryClient, profile?.viewer?.blockedBy, resolvedDid]) 118 119 // Most pushes will happen here, since we will have only placeholder data 120 + if (didStatus === 'pending' || profileStatus === 'pending') { 121 return ( 122 <Layout.Content> 123 <ProfileHeaderLoading />