Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp committed Jul 13, 2022
1 parent 2a0f763 commit 0c0ccf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/meteor/client/components/voip/room/VoipRoomForeword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { parseOutboundPhoneNumber } from '../../../../ee/client/lib/voip/parseOu
export const VoipRoomForeword = ({ room }: { room: IVoipRoom }): ReactElement => {
const t = useTranslation();

const avatarUrl = getUserAvatarURL(room.name || room.fname);
const avatarUrl = getUserAvatarURL(room.name);

const roomName = room.name || room.fname;
const roomName = room.name;

return (
<Box is='div' flexGrow={1} display='flex' justifyContent='center' flexDirection='column'>
<Box display='flex' justifyContent='center' mbs='x24'>
<Avatar size='x48' title={room.name || room.fname} url={avatarUrl} />
<Avatar size='x48' title={room.name} url={avatarUrl} />
</Box>
<Box color='default' fontScale='h2' flexGrow={1} mb='x16'>
{t('You_have_joined_a_new_call_with')}
Expand Down

0 comments on commit 0c0ccf7

Please sign in to comment.