summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings_general.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/user_settings_general.jsx')
-rw-r--r--web/react/components/user_settings_general.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings_general.jsx b/web/react/components/user_settings_general.jsx
index 10fec2933..5e7bbcb51 100644
--- a/web/react/components/user_settings_general.jsx
+++ b/web/react/components/user_settings_general.jsx
@@ -163,7 +163,7 @@ module.exports = React.createClass({
}
},
updateSection: function(section) {
- this.setState({clientError: ''});
+ this.setState(assign({}, this.getInitialState(), {clientError: ''}));
this.submitActive = false;
this.props.updateSection(section);
},