ソースを参照

fix(participants-pane): Consider reducer/state being unavailable on native

master
Gabriel Imre 4年前
コミット
20a62e5eb4
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      react/features/participants-pane/functions.js

+ 1
- 1
react/features/participants-pane/functions.js ファイルの表示

@@ -62,5 +62,5 @@ const getState = state => state[REDUCER_KEY];
62 62
  * @param {Object} state - Global state.
63 63
  * @returns {boolean} Is the participants pane open.
64 64
  */
65
-export const getParticipantsPaneOpen = state => Boolean(getState(state).isOpen);
65
+export const getParticipantsPaneOpen = state => Boolean(getState(state)?.isOpen);
66 66
 

読み込み中…
キャンセル
保存