Add user id to ui
This commit is contained in:
@@ -485,6 +485,9 @@ function Room({ client }) {
|
||||
{!loading && room && (
|
||||
<div className={styles.header}>
|
||||
<h3>{room.name}</h3>
|
||||
<div className={styles.userNav}>
|
||||
<h5>{client.getUserId()}</h5>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{loading && (
|
||||
|
||||
@@ -43,11 +43,17 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.userNav {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.joinRoom {
|
||||
|
||||
Reference in New Issue
Block a user