diff --git a/template-default/src/Room.tsx b/template-default/src/Room.tsx index 4b26ad39..942a2db3 100644 --- a/template-default/src/Room.tsx +++ b/template-default/src/Room.tsx @@ -105,7 +105,7 @@ function CompositeTemplate({ layout: initialLayout }: CompositeTemplateProps) { clearInterval(interval); } }, 100); - }, []); + }); useEffect(() => { if (screenshareTracks.length > 0 && screenshareTracks[0].publication) {