diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-11-12 12:13:26 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-11-12 12:13:26 -0500 |
commit | 83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa (patch) | |
tree | 5fde3c70c4f9d5f069dc151b629ecaaf2cbb2d0c /web/react/components | |
parent | 13a251a5ee940383e5a026284275b1f31fb476df (diff) | |
download | chat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.tar.gz chat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.tar.bz2 chat-83d34dcc6c5964ed4dfc4759fe4c9683606ab7fa.zip |
Fix profile loading in RHS on refresh
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/user_profile.jsx | 2 |
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); |