@@ -99,9 +99,9 @@ type SessionStateConnecting = SessionStateCommon & {
9999
100100type SessionStateConnected = SessionStateCommon & {
101101 connectionState :
102- | ConnectionState . Connected
103- | ConnectionState . Reconnecting
104- | ConnectionState . SignalReconnecting ;
102+ | ConnectionState . Connected
103+ | ConnectionState . Reconnecting
104+ | ConnectionState . SignalReconnecting ;
105105 isConnected : true ;
106106
107107 local : {
@@ -325,11 +325,11 @@ export function useSession(
325325 connectionState === ConnectionState . SignalReconnecting ,
326326 } ) as {
327327 isConnected : State extends
328- | ConnectionState . Connected
329- | ConnectionState . Reconnecting
330- | ConnectionState . SignalReconnecting
331- ? true
332- : false ;
328+ | ConnectionState . Connected
329+ | ConnectionState . Reconnecting
330+ | ConnectionState . SignalReconnecting
331+ ? true
332+ : false ;
333333 } ,
334334 [ ] ,
335335 ) ;
@@ -554,13 +554,17 @@ export function useSession(
554554 // Start microphone (with preconnect buffer) by default
555555 tracks . microphone ?. enabled
556556 ? room . localParticipant . setMicrophoneEnabled (
557- true ,
558- undefined ,
559- tracks . microphone ?. publishOptions ?? { } ,
560- )
557+ true ,
558+ undefined ,
559+ tracks . microphone ?. publishOptions ?? { } ,
560+ )
561561 : Promise . resolve ( ) ,
562562 tracks . camera ?. enabled
563- ? room . localParticipant . setCameraEnabled ( true , undefined , tracks . camera ?. publishOptions ?? { } )
563+ ? room . localParticipant . setCameraEnabled (
564+ true ,
565+ undefined ,
566+ tracks . camera ?. publishOptions ?? { } ,
567+ )
564568 : Promise . resolve ( ) ,
565569 ] ) ;
566570
0 commit comments