From 823563fefecb8c28a00bcec7fe0f1ee4bdb8e972 Mon Sep 17 00:00:00 2001 From: David Zhao <dz@livekit.io> Date: Tue, 12 Nov 2024 00:11:43 -0800 Subject: [PATCH] ignore ts warning --- template-default/src/Room.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template-default/src/Room.tsx b/template-default/src/Room.tsx index 942a2db3..1c0d7a92 100644 --- a/template-default/src/Room.tsx +++ b/template-default/src/Room.tsx @@ -105,7 +105,8 @@ function CompositeTemplate({ layout: initialLayout }: CompositeTemplateProps) { clearInterval(interval); } }, 100); - }); + /* eslint-disable-next-line react-hooks/exhaustive-deps */ + }, []); useEffect(() => { if (screenshareTracks.length > 0 && screenshareTracks[0].publication) {