fix linting issues

This commit is contained in:
Germain Souquet 2021-05-21 12:53:26 +01:00
parent 5ba419db54
commit ccfd6ba4b1
2 changed files with 3 additions and 2 deletions

View file

@ -844,14 +844,14 @@ export default class RoomView extends React.Component<IProps, IState> {
private onRoomName = (room: Room) => { private onRoomName = (room: Room) => {
if (this.state.room && room.roomId == this.state.room.roomId) { if (this.state.room && room.roomId == this.state.room.roomId) {
// this.forceUpdate(); this.forceUpdate();
} }
}; };
private onKeyBackupStatus = () => { private onKeyBackupStatus = () => {
// Key backup status changes affect whether the in-room recovery // Key backup status changes affect whether the in-room recovery
// reminder is displayed. // reminder is displayed.
// this.forceUpdate(); this.forceUpdate();
}; };
public canResetTimeline = () => { public canResetTimeline = () => {

View file

@ -302,6 +302,7 @@ interface IState {
export default class EventTile extends React.Component<IProps, IState> { export default class EventTile extends React.Component<IProps, IState> {
private suppressReadReceiptAnimation: boolean; private suppressReadReceiptAnimation: boolean;
private isListeningForReceipts: boolean; private isListeningForReceipts: boolean;
private ref: React.RefObject<unknown>;
private tile = React.createRef(); private tile = React.createRef();
private replyThread = React.createRef(); private replyThread = React.createRef();