Skip to content

Commit

Permalink
fix: handle UI state on peer join timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hdz-666 authored Oct 29, 2024
1 parent 7af55c8 commit 86639b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/roomkit-react/src/Prebuilt/AppStateContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const useAppStateManager = () => {
[HMSRoomState.Disconnected, HMSRoomState.Connected],
[HMSRoomState.Disconnected, HMSRoomState.Connecting],
[HMSRoomState.Disconnected, HMSRoomState.Reconnecting],
[HMSRoomState.Disconnected, HMSRoomState.Preview],
() => {
setActiveState(prevState => {
return match({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState })
Expand Down

0 comments on commit 86639b5

Please sign in to comment.