From fa4fe57a8678528541560e90f73a058086882235 Mon Sep 17 00:00:00 2001
From: m-gail <34513390+m-gail@users.noreply.github.com>
Date: Mon, 3 Jul 2023 12:56:22 +0200
Subject: [PATCH] Fix profile loading spinner

---
 src/shared/components/person/profile.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/components/person/profile.tsx b/src/shared/components/person/profile.tsx
index 86b01d5..33932af 100644
--- a/src/shared/components/person/profile.tsx
+++ b/src/shared/components/person/profile.tsx
@@ -232,7 +232,7 @@ export class Profile extends Component<
   async fetchUserData() {
     const { page, sort, view } = getProfileQueryParams();
 
-    this.setState({ personRes: { state: "empty" } });
+    this.setState({ personRes: { state: "loading" } });
     this.setState({
       personRes: await HttpService.client.getPersonDetails({
         username: this.props.match.params.username,
-- 
2.44.1