From 83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Thu, 12 Nov 2015 12:13:26 -0500
Subject: Fix profile loading in RHS on refresh

---
 web/react/components/user_profile.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/user_profile.jsx')

diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index eb0a8f0ca..0572a55f6 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -29,7 +29,7 @@ export default class UserProfile extends React.Component {
             return {profile: {id: '0', username: '...'}};
         }
 
-        return {profile: profile};
+        return {profile};
     }
     componentDidMount() {
         UserStore.addChangeListener(this.onChange);
-- 
cgit v1.2.3-1-g7c22

