Fix a number of minor code quality issues

Most of these are complaints from my IDE. Discovered by going through nearly every file looking for React warnings.
This commit is contained in:
Travis Ralston 2020-03-31 14:05:56 -06:00
parent 56dda3895c
commit c86d75693b
11 changed files with 12 additions and 18 deletions

View file

@ -433,7 +433,6 @@ export default createReactClass({
this._matrixClient = MatrixClientPeg.get();
this._matrixClient.on("Group.myMembership", this._onGroupMyMembership);
this._changeAvatarComponent = null;
this._initGroupStore(this.props.groupId, true);
this._dispatcherRef = dis.register(this._onAction);

View file

@ -54,7 +54,7 @@ export default class SoftLogout extends React.Component {
this.state = {
loginView: LOGIN_VIEW.LOADING,
keyBackupNeeded: true, // assume we do while we figure it out (see componentWillMount)
keyBackupNeeded: true, // assume we do while we figure it out (see componentDidMount)
busy: false,
password: "",