Make debugger toggleable in UI for mobile
This commit is contained in:
parent
cc5279fc05
commit
d88aedea1f
1 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,12 @@ export function Room({ manager }) {
|
|||
<button className={styles.leaveButton} onClick={leaveCall}>
|
||||
Leave Call
|
||||
</button>
|
||||
<button
|
||||
className={styles.leaveButton}
|
||||
onClick={() => setDebug((debug) => !debug)}
|
||||
>
|
||||
Toggle Debugger
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
{debug && <DevTools manager={manager} />}
|
||||
|
|
Loading…
Add table
Reference in a new issue