Add user id to window for debugging
This commit is contained in:
		
					parent
					
						
							
								1ec41bc7c5
							
						
					
				
			
			
				commit
				
					
						9de6629443
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -473,7 +473,8 @@ function Room({ client }) {
 | 
			
		|||
 | 
			
		||||
  return (
 | 
			
		||||
    <div>
 | 
			
		||||
      <p>{roomId}</p>
 | 
			
		||||
      <p>User ID:{client.getUserId()}</p>
 | 
			
		||||
      <p>Room ID:{roomId}</p>
 | 
			
		||||
      {loading && <p>Loading room...</p>}
 | 
			
		||||
      {error && <p>{error.message}</p>}
 | 
			
		||||
      {!loading && room && (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue