Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 001490f

Browse files
committed
Fix unused resize listener
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 869a5fb commit 001490f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/views/voip/VideoFeed.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export default class VideoFeed extends React.Component<IProps, IState> {
5959

6060
componentDidMount() {
6161
this.props.feed.addListener(CallFeedEvent.NewStream, this.onNewStream);
62+
this.element.current?.addEventListener('resize', this.onResize);
6263
this.playMedia();
6364
}
6465

0 commit comments

Comments
 (0)