diff --git a/src/room/PTTCallView.jsx b/src/room/PTTCallView.jsx index 2406d0b..35497e6 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) => (