From 838d9105c9747b28eb32fd535664ec6f2007ce65 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk <3636685+Palid@users.noreply.github.com> Date: Tue, 3 Aug 2021 13:53:49 +0200 Subject: [PATCH] Update src/components/views/voip/CallView/CallViewHeader.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Šimon Brandner --- src/components/views/voip/CallView/CallViewHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/voip/CallView/CallViewHeader.tsx b/src/components/views/voip/CallView/CallViewHeader.tsx index 954982b9b3..e5ee6bff96 100644 --- a/src/components/views/voip/CallView/CallViewHeader.tsx +++ b/src/components/views/voip/CallView/CallViewHeader.tsx @@ -96,13 +96,13 @@ function getAvatarBasedOnRoomType(roomOrWidget: Room | IApp) { return null; } -export function CallViewHeader({ +export const CallViewHeader: React.FC = ({ type, pipMode = false, callRooms = [], app, onPipMouseDown, -}: CallViewHeaderProps) { +}) { const [callRoom, onHoldCallRoom] = callRooms; const callTypeText = callTypeTranslationByType[type](app); const avatar = getAvatarBasedOnRoomType(callRoom ?? app);