mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 07:41:46 +03:00
iterate PR
This commit is contained in:
parent
3c5eb1f42c
commit
24006588d5
2 changed files with 2 additions and 6 deletions
|
@ -60,13 +60,8 @@ export default class EditableText extends React.Component {
|
||||||
this.placeholder = false;
|
this.placeholder = false;
|
||||||
|
|
||||||
this._editable_div = createRef();
|
this._editable_div = createRef();
|
||||||
|
|
||||||
this.state = {
|
|
||||||
phase: EditableText.Phases.Display,
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
phase: EditableText.Phases.Display,
|
phase: EditableText.Phases.Display,
|
||||||
};
|
};
|
||||||
|
|
|
@ -56,7 +56,8 @@ export default class MemberList extends React.Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
// eslint-disable-next-line camelcase
|
||||||
|
UNSAFE_componentWillMount() {
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
this._mounted = true;
|
this._mounted = true;
|
||||||
if (cli.hasLazyLoadMembersEnabled()) {
|
if (cli.hasLazyLoadMembersEnabled()) {
|
||||||
|
|
Loading…
Reference in a new issue