From 3e65639b3508f01f7dc129a435435adcc4f12324 Mon Sep 17 00:00:00 2001 From: Timo K Date: Wed, 25 Oct 2023 13:37:39 +0200 Subject: [PATCH] fix lint Signed-off-by: Timo K --- src/livekit/useLiveKit.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/livekit/useLiveKit.ts b/src/livekit/useLiveKit.ts index d0e2afcb..43a4703e 100644 --- a/src/livekit/useLiveKit.ts +++ b/src/livekit/useLiveKit.ts @@ -160,9 +160,12 @@ export function useLiveKit( Camera, } - const syncMuteState = async (iterCount: number, type: MuteDevice) => { + const syncMuteState = async ( + iterCount: number, + type: MuteDevice, + ): Promise => { // The approach for muting is to always bring the actual livekit state in sync with the button - // This allows for a very predictable and reactive behaviour for the user. + // This allows for a very predictable and reactive behavior for the user. // (the new state is the old state when pressing the button n times (where n is even)) // (the new state is different to the old state when pressing the button n times (where n is uneven)) // In case there are issues with the device there might be situations where setMicrophoneEnabled/setCameraEnabled