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