Fix switching between layouts
This commit is contained in:
parent
48eabecb87
commit
84b49c435d
1 changed files with 2 additions and 0 deletions
|
@ -499,6 +499,8 @@ export function VideoGrid({ participants, layout }) {
|
|||
0
|
||||
);
|
||||
|
||||
lastLayoutRef.current = layout;
|
||||
|
||||
return {
|
||||
tiles: newTiles,
|
||||
tilePositions: getTilePositions(
|
||||
|
|
Loading…
Add table
Reference in a new issue