iterate PR

This commit is contained in:
Michael Telatynski 2020-09-03 10:34:19 +01:00
parent 3c5eb1f42c
commit 24006588d5
2 changed files with 2 additions and 6 deletions

View file

@ -60,13 +60,8 @@ export default class EditableText extends React.Component {
this.placeholder = false;
this._editable_div = createRef();
this.state = {
phase: EditableText.Phases.Display,
};
}
state = {
phase: EditableText.Phases.Display,
};

View file

@ -56,7 +56,8 @@ export default class MemberList extends React.Component {
}
}
componentDidMount() {
// eslint-disable-next-line camelcase
UNSAFE_componentWillMount() {
const cli = MatrixClientPeg.get();
this._mounted = true;
if (cli.hasLazyLoadMembersEnabled()) {