Format code

This commit is contained in:
Robin 2023-11-30 23:40:33 -05:00
parent 7730b9aebc
commit c433069f90
3 changed files with 6 additions and 6 deletions

View File

@ -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 {

View File

@ -248,6 +248,6 @@ export function useECConnectionState(
return isSwitchingFocus
? ECAddonConnectionState.ECSwitchingFocus
: isInDoConnect
? ConnectionState.Connecting
: connState;
? ConnectionState.Connecting
: connState;
}

View File

@ -395,8 +395,8 @@ export const InCallView: FC<InCallViewProps> = ({
showControls
? styles.footer
: hideHeader
? [styles.footer, styles.footerHidden]
: [styles.footer, styles.footerThin],
? [styles.footer, styles.footerHidden]
: [styles.footer, styles.footerThin],
)}
>
{!mobile && !hideHeader && (