Don't use onResize

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-03 16:42:27 +01:00
parent 2e535d2a99
commit d244ea3b14
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 0 additions and 6 deletions

View file

@ -167,7 +167,6 @@ export default class AuxPanel extends React.Component<IProps, IState> {
const callView = (
<CallViewForRoom
roomId={this.props.room.roomId}
onResize={this.props.onResize}
maxVideoHeight={this.props.maxHeight}
resizeNotifier={this.props.resizeNotifier}
/>

View file

@ -29,10 +29,6 @@ interface IProps {
// maxHeight style attribute for the video panel
maxVideoHeight?: number;
// a callback which is called when the content in the callview changes
// in a way that is likely to cause a resize.
onResize?: any;
resizeNotifier: ResizeNotifier,
}
@ -122,7 +118,6 @@ export default class CallViewForRoom extends React.Component<IProps, IState> {
<CallView
call={this.state.call}
pipMode={false}
onResize={this.props.onResize}
/>
</Resizable>
</div>