From 2380ad82af588b9958035b8bb12c51953a46143e Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 16 Jul 2026 00:03:15 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F(frontend)=20render=20full-sc?= =?UTF-8?q?reen=20warning=20only=20for=20the=20local=20participant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restrict the full-screen warning to the local participant tile. Previously, mounting it on every participant tile meant that when the local participant toggled their camera or microphone, the warning re-evaluated and triggered a re-render on every tile. --- .../features/participantTile/components/ParticipantTile.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/features/participantTile/components/ParticipantTile.tsx b/src/frontend/src/features/participantTile/components/ParticipantTile.tsx index 7902e758..5c210369 100644 --- a/src/frontend/src/features/participantTile/components/ParticipantTile.tsx +++ b/src/frontend/src/features/participantTile/components/ParticipantTile.tsx @@ -117,7 +117,9 @@ export const ParticipantTile: (
- + {trackReference.participant.isLocal && ( + + )} {children ?? ( <> {isTrackReference(trackReference) &&