Don't re-enable the save button after saving profiles

Fixes https://github.com/vector-im/riot-web/issues/8569
This commit is contained in:
Travis Ralston 2019-02-28 19:13:28 -07:00
parent 8d7837829e
commit b84b11d3bd
2 changed files with 0 additions and 2 deletions

View file

@ -91,7 +91,6 @@ export default class RoomProfileSettings extends React.Component {
newState.originalTopic = this.state.topic; newState.originalTopic = this.state.topic;
} }
newState.enableProfileSave = true;
this.setState(newState); this.setState(newState);
}; };

View file

@ -72,7 +72,6 @@ export default class ProfileSettings extends React.Component {
newState.avatarFile = null; newState.avatarFile = null;
} }
newState.enableProfileSave = true;
this.setState(newState); this.setState(newState);
}; };