From 41b171da68c3204cc0576f78ba4d36be8641d05f Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 3 Mar 2026 19:21:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9(frontend)=20fix=20double=20await?= =?UTF-8?q?=20in=20Join.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove redundant await in videoTrack.setDeviceId call to avoid unnecessary promise chaining. --- src/frontend/src/features/rooms/components/Join.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/components/Join.tsx b/src/frontend/src/features/rooms/components/Join.tsx index 5561b621..09668b09 100644 --- a/src/frontend/src/features/rooms/components/Join.tsx +++ b/src/frontend/src/features/rooms/components/Join.tsx @@ -753,7 +753,7 @@ export const Join = ({ try { saveVideoInputDeviceId(id) if (videoTrack) { - await await videoTrack.setDeviceId({ exact: id }) + await videoTrack.setDeviceId({ exact: id }) } } catch (err) { console.error('Failed to switch camera device', err)