Fix profile handle resolution errors (#11503)

This commit is contained in:
Samuel Newman
2026-08-19 17:34:45 +03:00
committed by GitHub
parent e113da50d4
commit 11c80a1fbd
+3 -1
View File
@@ -115,7 +115,9 @@ function ProfileScreenInner({route}: Props) {
}, [queryClient, profile?.viewer?.blockedBy, resolvedDid]) }, [queryClient, profile?.viewer?.blockedBy, resolvedDid])
// Most pushes will happen here, since we will have only placeholder data // Most pushes will happen here, since we will have only placeholder data
if (isDidPending || isProfilePending) { // A disabled dependent query remains pending, so only consider the profile
// pending once handle resolution has produced a DID.
if (isDidPending || (!!resolvedDid && isProfilePending)) {
return ( return (
<Layout.Content> <Layout.Content>
<ProfileHeaderLoading /> <ProfileHeaderLoading />