summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_profile.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-11-12 12:13:26 -0500
committerJoramWilander <jwawilander@gmail.com>2015-11-12 12:13:26 -0500
commit83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa (patch)
tree5fde3c70c4f9d5f069dc151b629ecaaf2cbb2d0c /web/react/components/user_profile.jsx
parent13a251a5ee940383e5a026284275b1f31fb476df (diff)
downloadchat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.tar.gz
chat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.tar.bz2
chat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.zip
Fix profile loading in RHS on refresh
Diffstat (limited to 'web/react/components/user_profile.jsx')
-rw-r--r--web/react/components/user_profile.jsx2
1 files changed, 1 insertions, 1 deletions
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);