feat(native-participants-pane) removed console.log
This commit is contained in:
parent
80b49266ab
commit
249515ac60
|
@ -25,14 +25,14 @@ export const MeetingParticipantItem = ({ participant: p }: Props) => {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const isAudioMuted = useSelector(getIsParticipantAudioMuted(p));
|
const isAudioMuted = useSelector(getIsParticipantAudioMuted(p));
|
||||||
const isVideoMuted = useSelector(getIsParticipantVideoMuted(p));
|
const isVideoMuted = useSelector(getIsParticipantVideoMuted(p));
|
||||||
const openContextMenuDetails = useCallback(() => dispatch(showContextMenuDetails(p), [ dispatch ]));
|
const openContextMenuDetails = useCallback(() => !p.local && dispatch(showContextMenuDetails(p), [ dispatch ]));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ParticipantItem
|
<ParticipantItem
|
||||||
audioMuteState = { isAudioMuted ? MediaState.Muted : MediaState.Unmuted }
|
audioMuteState = { isAudioMuted ? MediaState.Muted : MediaState.Unmuted }
|
||||||
isKnockingParticipant = { false }
|
isKnockingParticipant = { false }
|
||||||
name = { p.name }
|
name = { p.name }
|
||||||
onPress = { !p.local && openContextMenuDetails }
|
onPress = { openContextMenuDetails }
|
||||||
participant = { p }
|
participant = { p }
|
||||||
videoMuteState = { isVideoMuted ? MediaState.Muted : MediaState.Unmuted } />
|
videoMuteState = { isVideoMuted ? MediaState.Muted : MediaState.Unmuted } />
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue