fix(participants-pane): Consider reducer/state being unavailable on native
This commit is contained in:
parent
77890fc27a
commit
20a62e5eb4
|
@ -62,5 +62,5 @@ const getState = state => state[REDUCER_KEY];
|
|||
* @param {Object} state - Global state.
|
||||
* @returns {boolean} Is the participants pane open.
|
||||
*/
|
||||
export const getParticipantsPaneOpen = state => Boolean(getState(state).isOpen);
|
||||
export const getParticipantsPaneOpen = state => Boolean(getState(state)?.isOpen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue