Finish active speaker selection

This commit is contained in:
Robert Long
2021-09-02 13:36:37 -07:00
parent 99ecb8aa28
commit e23357dca2
4 changed files with 67 additions and 29 deletions

View File

@@ -81,7 +81,6 @@ export function Room({ manager }) {
const [layout, setLayout] = useState("gallery");
const toggleLayout = useCallback(() => {
console.log(layout);
setLayout(layout === "spotlight" ? "gallery" : "spotlight");
}, [layout]);