naming
parent
30b06c1d9e
commit
c5c3f6dbe5
|
@ -27,12 +27,12 @@ export function Component({did}: {did: string}) {
|
||||||
data: profile,
|
data: profile,
|
||||||
error: profileError,
|
error: profileError,
|
||||||
refetch: refetchProfile,
|
refetch: refetchProfile,
|
||||||
isLoading,
|
isLoading: isLoadingProfile,
|
||||||
} = useProfileQuery({
|
} = useProfileQuery({
|
||||||
did: did,
|
did: did,
|
||||||
})
|
})
|
||||||
|
|
||||||
if (isLoading || !moderationOpts) {
|
if (isLoadingProfile || !moderationOpts) {
|
||||||
return (
|
return (
|
||||||
<CenteredView style={[pal.view, s.flex1]}>
|
<CenteredView style={[pal.view, s.flex1]}>
|
||||||
<ProfileHeader
|
<ProfileHeader
|
||||||
|
|
Loading…
Reference in New Issue