diff options
author | Hailey <me@haileyok.com> | 2024-01-29 18:51:54 -0800 |
---|---|---|
committer | Hailey <me@haileyok.com> | 2024-01-29 18:51:54 -0800 |
commit | ebe64b828ba4d5558c87d9ba226509289254602a (patch) | |
tree | f2e05110fc9103e57ec0b79734db819cbe2d91c7 /src | |
parent | c5c3f6dbe5c96bc3df3d2530a30bc0bfd576cef7 (diff) | |
download | voidsky-ebe64b828ba4d5558c87d9ba226509289254602a.tar.zst |
update deprecated
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Profile.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index a0c8239f0..b70c6354c 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -58,13 +58,13 @@ export function ProfileScreen({route}: Props) { data: resolvedDid, error: resolveError, refetch: refetchDid, - isInitialLoading: isInitialLoadingDid, + isLoading: isLoadingDid, } = useResolveDidQuery(name) const { data: profile, error: profileError, refetch: refetchProfile, - isInitialLoading: isInitialLoadingProfile, + isLoading: isLoadingProfile, } = useProfileQuery({ did: resolvedDid, }) @@ -84,7 +84,7 @@ export function ProfileScreen({route}: Props) { } }, [profile?.viewer?.blockedBy, resolvedDid]) - if (isInitialLoadingDid || isInitialLoadingProfile || !moderationOpts) { + if (isLoadingDid || isLoadingProfile || !moderationOpts) { return ( <CenteredView> <ProfileHeader |