Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(participants-pane/native): fixed undefined error

Calin-Teodoreb911ec9b57d
diff --git a/react/features/participants-pane/components/native/MeetingParticipantItem.js b/react/features/participants-pane/components/native/MeetingParticipantItem.js
index d100b03ad3..0633db26dc 100644
--- a/react/features/participants-pane/components/native/MeetingParticipantItem.js
+++ b/react/features/participants-pane/components/native/MeetingParticipantItem.js
@@ -181,7 +181,7 @@ function mapStateToProps(state, ownProps): Object {
const { disableModeratorIndicator } = state['features/base/config'];
const raisedHand = hasRaisedHand(participant?.local
? participant
- : getParticipantById(state, participant.id)
+ : getParticipantById(state, participant?.id)
);
return {