From a70dbb130f77b524091bec36453b632d94b41570 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 5 May 2022 12:26:30 +0100 Subject: [PATCH] Run prettier --- src/room/PTTCallView.jsx | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/room/PTTCallView.jsx b/src/room/PTTCallView.jsx index 2406d0b7..35497e60 100644 --- a/src/room/PTTCallView.jsx +++ b/src/room/PTTCallView.jsx @@ -51,7 +51,8 @@ export function PTTCallView({ unmuteError, } = usePTT(client, groupCall, userMediaFeeds); - const showTalkOverError = pttButtonHeld && unmuteError instanceof OtherUserSpeakingError; + const showTalkOverError = + pttButtonHeld && unmuteError instanceof OtherUserSpeakingError; const activeSpeakerIsLocalUser = activeSpeakerUserId && client.getUserId() === activeSpeakerUserId; @@ -60,10 +61,10 @@ export function PTTCallView({ : null; const activeSpeakerAvatarUrl = activeSpeakerUser ? getAvatarUrl( - client, - activeSpeakerUser.avatarUrl, - pttButtonSize - pttBorderWidth * 2 - ) + client, + activeSpeakerUser.avatarUrl, + pttButtonSize - pttBorderWidth * 2 + ) : null; const activeSpeakerDisplayName = activeSpeakerUser ? activeSpeakerUser.displayName @@ -79,8 +80,9 @@ export function PTTCallView({
-

{`${participants.length} ${participants.length > 1 ? "people" : "person" - } connected`}

+

{`${participants.length} ${ + participants.length > 1 ? "people" : "person" + } connected`}

{userMediaFeeds.map((callFeed) => (