Fix more detached DOM leaks (#10806)
This commit is contained in:
parent
84786ad342
commit
bf641d1823
4 changed files with 9 additions and 4 deletions
|
@ -250,8 +250,8 @@ interface IState {
|
|||
export class UnwrappedEventTile extends React.Component<EventTileProps, IState> {
|
||||
private suppressReadReceiptAnimation: boolean;
|
||||
private isListeningForReceipts: boolean;
|
||||
private tile = React.createRef<IEventTileType>();
|
||||
private replyChain = React.createRef<ReplyChain>();
|
||||
private tile = createRef<IEventTileType>();
|
||||
private replyChain = createRef<ReplyChain>();
|
||||
|
||||
public readonly ref = createRef<HTMLElement>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue