Disable the linter on lines it complaints about UNSAFE_componentWillMount

This commit is contained in:
Travis Ralston 2020-03-31 14:21:12 -06:00
parent 0a6f54da33
commit 6d0d77f98e
6 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@ export default class SecurityRoomSettingsTab extends React.Component {
}
// TODO: [REACT-WARNING] Move this to constructor
async UNSAFE_componentWillMount(): void {
async UNSAFE_componentWillMount(): void { // eslint-disable-line camelcase
MatrixClientPeg.get().on("RoomState.events", this._onStateEvent);
const room = MatrixClientPeg.get().getRoom(this.props.roomId);