We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1852a2d commit c0833c0Copy full SHA for c0833c0
app/src/components/left/RoomsContainer.tsx
@@ -333,12 +333,15 @@ const RoomsContainer = () => {
333
<Typography variant="h5" color={'#f2fbf8'}>
334
Live Room: {roomCode}
335
</Typography>
336
- <Typography variant="h6" color={userColors[userList.indexOf(userName)]}>
337
- Nickname: {userName}
338
- </Typography>
339
{/* Set up condition rendering depends on if user joined a room then render leave button if not render join button */}
340
{userJoined ? (
341
<>
+ <Typography
+ variant="h6"
+ color={userColors[userList.indexOf(userName)]}
342
+ >
343
+ Nickname: {userName}
344
+ </Typography>
345
<Typography
346
variant="body1"
347
sx={{
0 commit comments