Format code
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -248,6 +248,6 @@ export function useECConnectionState(
|
||||
return isSwitchingFocus
|
||||
? ECAddonConnectionState.ECSwitchingFocus
|
||||
: isInDoConnect
|
||||
? ConnectionState.Connecting
|
||||
: connState;
|
||||
? ConnectionState.Connecting
|
||||
: connState;
|
||||
}
|
||||
|
||||
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user