about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-01-29 18:44:19 -0800
committerHailey <me@haileyok.com>2024-01-29 18:44:19 -0800
commitc5c3f6dbe5c96bc3df3d2530a30bc0bfd576cef7 (patch)
treee273b6fdd8fe6e0f09b01b26679a856d911ba86a /src
parent30b06c1d9ec45fb17c55840dafe8d3132fb3dc8b (diff)
downloadvoidsky-c5c3f6dbe5c96bc3df3d2530a30bc0bfd576cef7.tar.zst
naming
Diffstat (limited to 'src')
-rw-r--r--src/view/com/modals/ProfilePreview.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/modals/ProfilePreview.tsx b/src/view/com/modals/ProfilePreview.tsx
index 3de1db446..88b0df71d 100644
--- a/src/view/com/modals/ProfilePreview.tsx
+++ b/src/view/com/modals/ProfilePreview.tsx
@@ -27,12 +27,12 @@ export function Component({did}: {did: string}) {
     data: profile,
     error: profileError,
     refetch: refetchProfile,
-    isLoading,
+    isLoading: isLoadingProfile,
   } = useProfileQuery({
     did: did,
   })
 
-  if (isLoading || !moderationOpts) {
+  if (isLoadingProfile || !moderationOpts) {
     return (
       <CenteredView style={[pal.view, s.flex1]}>
         <ProfileHeader