fix(participants-pane,video-menu) fix incorrect selector usage

This commit is contained in:
Saúl Ibarra Corretgé 2022-05-19 10:43:36 +02:00 committed by Saúl Ibarra Corretgé
parent 6c1cb5d4be
commit 0098091a37
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ export const ContextMenuMore = () => {
[ dispatch ]);
const { t } = useTranslation();
const isModerationSupported = useSelector(isAvModerationSupported());
const isModerationSupported = useSelector(isAvModerationSupported);
const allModerators = useSelector(isEveryoneModerator);
const participantCount = useSelector(getParticipantCount);

View File

@ -84,7 +84,7 @@ type Props = {
export const FooterContextMenu = ({ isOpen, onDrawerClose, onMouseLeave }: Props) => {
const dispatch = useDispatch();
const isModerationSupported = useSelector(isAvModerationSupported());
const isModerationSupported = useSelector(isAvModerationSupported);
const allModerators = useSelector(isEveryoneModerator);
const isModeratorSettingsTabEnabled = useSelector(shouldShowModeratorSettings);
const participantCount = useSelector(getParticipantCount);

View File

@ -145,7 +145,7 @@ const ParticipantContextMenu = ({
const _volume = (participant?.local ?? true ? undefined
: participant?.id ? participantsVolume[participant?.id] : undefined) ?? 1;
const isBreakoutRoom = useSelector(isInBreakoutRoom);
const isModerationSupported = useSelector(isAvModerationSupported());
const isModerationSupported = useSelector(isAvModerationSupported);
const stageFilmstrip = useSelector(isStageFilmstripEnabled);
const _currentRoomId = useSelector(getCurrentRoomId);