Fix unused resize listener
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
869a5fb5c7
commit
001490f70d
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ export default class VideoFeed extends React.Component<IProps, IState> {
|
|||
|
||||
componentDidMount() {
|
||||
this.props.feed.addListener(CallFeedEvent.NewStream, this.onNewStream);
|
||||
this.element.current?.addEventListener('resize', this.onResize);
|
||||
this.playMedia();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue