Skip to content

Commit e9d2103

Browse files
committed
Remove comments
1 parent ee6aa49 commit e9d2103

File tree

2 files changed

+27
-13
lines changed

2 files changed

+27
-13
lines changed

app/src/components/bottom/ChatRoom.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ const Chatroom = (props): JSX.Element => {
121121
</div>
122122
</div>
123123
);
124-
// return (
125-
// <div key={index} style={handleMessageContainerStyle(message)}>
126-
// {message.userName === userName ? 'You' : message.userName}:{' '}
127-
// {message.message}
128-
// </div>
129-
// );
130124
}
131125
return null;
132126
});
@@ -207,7 +201,14 @@ const Chatroom = (props): JSX.Element => {
207201
style={inputStyles}
208202
/>
209203
<button type="submit" id="send-button" style={buttonStyles}>
210-
<Send sx={{ width: '20px', height: '20px', marginLeft: '2px', marginTop: '2px' }} />
204+
<Send
205+
sx={{
206+
width: '20px',
207+
height: '20px',
208+
marginLeft: '2px',
209+
marginTop: '2px'
210+
}}
211+
/>
211212
</button>
212213
</form>
213214
</div>

app/src/components/bottom/VideoMeeting.tsx

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,10 @@ const Videomeeting = (props): JSX.Element => {
107107
style={{
108108
display: 'flex',
109109
flexDirection: 'column',
110-
// justifyContent: 'center',
111-
// alignItems: 'center',
112110
paddingLeft: '5px',
113111
paddingRight: '5px'
114112
}}
115113
>
116-
117114
<audio ref={micRef} autoPlay muted={isLocal} />
118115
{!webcamOn && <TurnOffCameraDisplay />}
119116
{webcamOn && (
@@ -132,9 +129,25 @@ const Videomeeting = (props): JSX.Element => {
132129
}}
133130
/>
134131
)}
135-
<div style={{...handleUserInfoStyle(isLocalParticipant), display: 'flex', marginTop: '-50px', marginLeft: '15px'}}>
136-
<span>{displayName}</span>
137-
{webcamOn ? <VideocamIcon style={{marginLeft: '14.5px'}}/> : <VideocamOffIcon style={{marginLeft: '14.5px'}}/>} {micOn ? <MicIcon style={{marginLeft: '10px'}}/> : <MicOffIcon style={{marginLeft: '10px'}}/>}
132+
<div
133+
style={{
134+
...handleUserInfoStyle(isLocalParticipant),
135+
display: 'flex',
136+
marginTop: '-50px',
137+
marginLeft: '15px'
138+
}}
139+
>
140+
<span>{displayName}</span>
141+
{webcamOn ? (
142+
<VideocamIcon style={{ marginLeft: '14.5px' }} />
143+
) : (
144+
<VideocamOffIcon style={{ marginLeft: '14.5px' }} />
145+
)}{' '}
146+
{micOn ? (
147+
<MicIcon style={{ marginLeft: '10px' }} />
148+
) : (
149+
<MicOffIcon style={{ marginLeft: '10px' }} />
150+
)}
138151
</div>
139152
</div>
140153
</>

0 commit comments

Comments
 (0)