Update src/components/views/voip/CallView/CallViewHeader.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
90c2eb0b92
commit
838d9105c9
1 changed files with 2 additions and 2 deletions
|
@ -96,13 +96,13 @@ function getAvatarBasedOnRoomType(roomOrWidget: Room | IApp) {
|
|||
return null;
|
||||
}
|
||||
|
||||
export function CallViewHeader({
|
||||
export const CallViewHeader: React.FC<CallViewHeaderProps> = ({
|
||||
type,
|
||||
pipMode = false,
|
||||
callRooms = [],
|
||||
app,
|
||||
onPipMouseDown,
|
||||
}: CallViewHeaderProps) {
|
||||
}) {
|
||||
const [callRoom, onHoldCallRoom] = callRooms;
|
||||
const callTypeText = callTypeTranslationByType[type](app);
|
||||
const avatar = getAvatarBasedOnRoomType(callRoom ?? app);
|
||||
|
|
Loading…
Reference in a new issue