Disable the linter on lines it complaints about UNSAFE_componentWillMount
This commit is contained in:
parent
0a6f54da33
commit
6d0d77f98e
6 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ export default class AdvancedRoomSettingsTab extends React.Component {
|
|||
}
|
||||
|
||||
// TODO: [REACT-WARNING] Move this to constructor
|
||||
UNSAFE_componentWillMount() {
|
||||
UNSAFE_componentWillMount() { // eslint-disable-line camelcase
|
||||
// we handle lack of this object gracefully later, so don't worry about it failing here.
|
||||
const room = MatrixClientPeg.get().getRoom(this.props.roomId);
|
||||
room.getRecommendedVersion().then((v) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue