Add user id to window for debugging

This commit is contained in:
Robert Long 2021-07-23 16:32:30 -07:00
parent 1ec41bc7c5
commit 9de6629443

View file

@ -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 && (