From 7730b9aebc954d956b04e6d56320a58aa251cc9c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 22:00:31 +0000 Subject: [PATCH 1/2] Update dependency prettier to v3.1.0 --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 132e256d..6b8075a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7989,9 +7989,9 @@ prelude-ls@^1.2.1: integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== prettier@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" - integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e" + integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw== pretty-format@^27.0.2: version "27.5.1" From c433069f90e420447060f75a51456a8bc9ef7655 Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 30 Nov 2023 23:40:33 -0500 Subject: [PATCH 2/2] Format code --- src/livekit/MediaDevicesContext.tsx | 4 ++-- src/livekit/useECConnectionState.ts | 4 ++-- src/room/InCallView.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/livekit/MediaDevicesContext.tsx b/src/livekit/MediaDevicesContext.tsx index db995ff0..129ddf20 100644 --- a/src/livekit/MediaDevicesContext.tsx +++ b/src/livekit/MediaDevicesContext.tsx @@ -102,8 +102,8 @@ function useMediaDevice( devId = available.some((d) => d.deviceId === selectedId) ? selectedId : available.some((d) => d.deviceId === fallbackDevice) - ? fallbackDevice - : available.at(0)?.deviceId; + ? fallbackDevice + : available.at(0)?.deviceId; } return { diff --git a/src/livekit/useECConnectionState.ts b/src/livekit/useECConnectionState.ts index 64e8ca0d..17baf124 100644 --- a/src/livekit/useECConnectionState.ts +++ b/src/livekit/useECConnectionState.ts @@ -248,6 +248,6 @@ export function useECConnectionState( return isSwitchingFocus ? ECAddonConnectionState.ECSwitchingFocus : isInDoConnect - ? ConnectionState.Connecting - : connState; + ? ConnectionState.Connecting + : connState; } diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 6c4207c2..afdbc044 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -395,8 +395,8 @@ export const InCallView: FC = ({ showControls ? styles.footer : hideHeader - ? [styles.footer, styles.footerHidden] - : [styles.footer, styles.footerThin], + ? [styles.footer, styles.footerHidden] + : [styles.footer, styles.footerThin], )} > {!mobile && !hideHeader && (