From d244ea3b143970ae7525884780b6a97e5ab79814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 3 Mar 2021 16:42:27 +0100 Subject: [PATCH] Don't use onResize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/rooms/AuxPanel.tsx | 1 - src/components/views/voip/CallViewForRoom.tsx | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/components/views/rooms/AuxPanel.tsx b/src/components/views/rooms/AuxPanel.tsx index 21f8369db8..eb7c06cea8 100644 --- a/src/components/views/rooms/AuxPanel.tsx +++ b/src/components/views/rooms/AuxPanel.tsx @@ -167,7 +167,6 @@ export default class AuxPanel extends React.Component { const callView = ( diff --git a/src/components/views/voip/CallViewForRoom.tsx b/src/components/views/voip/CallViewForRoom.tsx index 50fb889766..054a831bf0 100644 --- a/src/components/views/voip/CallViewForRoom.tsx +++ b/src/components/views/voip/CallViewForRoom.tsx @@ -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 {