fix(participants-pane,video-menu) fix incorrect selector usage
This commit is contained in:
parent
6c1cb5d4be
commit
0098091a37
|
@ -38,7 +38,7 @@ export const ContextMenuMore = () => {
|
||||||
[ dispatch ]);
|
[ dispatch ]);
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const isModerationSupported = useSelector(isAvModerationSupported());
|
const isModerationSupported = useSelector(isAvModerationSupported);
|
||||||
const allModerators = useSelector(isEveryoneModerator);
|
const allModerators = useSelector(isEveryoneModerator);
|
||||||
const participantCount = useSelector(getParticipantCount);
|
const participantCount = useSelector(getParticipantCount);
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ type Props = {
|
||||||
|
|
||||||
export const FooterContextMenu = ({ isOpen, onDrawerClose, onMouseLeave }: Props) => {
|
export const FooterContextMenu = ({ isOpen, onDrawerClose, onMouseLeave }: Props) => {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const isModerationSupported = useSelector(isAvModerationSupported());
|
const isModerationSupported = useSelector(isAvModerationSupported);
|
||||||
const allModerators = useSelector(isEveryoneModerator);
|
const allModerators = useSelector(isEveryoneModerator);
|
||||||
const isModeratorSettingsTabEnabled = useSelector(shouldShowModeratorSettings);
|
const isModeratorSettingsTabEnabled = useSelector(shouldShowModeratorSettings);
|
||||||
const participantCount = useSelector(getParticipantCount);
|
const participantCount = useSelector(getParticipantCount);
|
||||||
|
|
|
@ -145,7 +145,7 @@ const ParticipantContextMenu = ({
|
||||||
const _volume = (participant?.local ?? true ? undefined
|
const _volume = (participant?.local ?? true ? undefined
|
||||||
: participant?.id ? participantsVolume[participant?.id] : undefined) ?? 1;
|
: participant?.id ? participantsVolume[participant?.id] : undefined) ?? 1;
|
||||||
const isBreakoutRoom = useSelector(isInBreakoutRoom);
|
const isBreakoutRoom = useSelector(isInBreakoutRoom);
|
||||||
const isModerationSupported = useSelector(isAvModerationSupported());
|
const isModerationSupported = useSelector(isAvModerationSupported);
|
||||||
const stageFilmstrip = useSelector(isStageFilmstripEnabled);
|
const stageFilmstrip = useSelector(isStageFilmstripEnabled);
|
||||||
|
|
||||||
const _currentRoomId = useSelector(getCurrentRoomId);
|
const _currentRoomId = useSelector(getCurrentRoomId);
|
||||||
|
|
Loading…
Reference in New Issue