Commit 71bcef15 authored by Bernard Seow's avatar Bernard Seow Committed by Diego Mello
Browse files

[FIX] Profile fields automatically reset (#1502)

parent f5188a8d
......@@ -81,7 +81,7 @@ class ProfileView extends React.Component {
componentWillReceiveProps(nextProps) {
const { user } = this.props;
if (user !== nextProps.user) {
if (!equal(user, nextProps.user)) {
this.init(nextProps.user);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment