Fix unused resize listener

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-27 15:30:44 +02:00
parent 869a5fb5c7
commit 001490f70d
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -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();
}