From ebe64b828ba4d5558c87d9ba226509289254602a Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 29 Jan 2024 18:51:54 -0800 Subject: [PATCH] update deprecated --- src/view/screens/Profile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index a0c8239f..b70c6354 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 (