Filter inactive participants from the dev tools

This commit is contained in:
Robert Long
2021-07-30 14:19:52 -07:00
parent e98abaff4d
commit c2d7156033
2 changed files with 15 additions and 3 deletions

View File

@@ -41,6 +41,10 @@ export function DevTools({ manager }) {
};
}, [manager]);
if (!manager.joined) {
return <div className={styles.devTools} />;
}
return (
<div className={styles.devTools}>
{Array.from(debugState.entries()).map(([userId, props]) => (