diff --git a/react/features/participants-pane/components/native/ContextMenuMore.js b/react/features/participants-pane/components/native/ContextMenuMore.js index 2200370aa..7e3b76036 100644 --- a/react/features/participants-pane/components/native/ContextMenuMore.js +++ b/react/features/participants-pane/components/native/ContextMenuMore.js @@ -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); diff --git a/react/features/participants-pane/components/web/FooterContextMenu.js b/react/features/participants-pane/components/web/FooterContextMenu.js index b35e882c7..c1770e9b1 100644 --- a/react/features/participants-pane/components/web/FooterContextMenu.js +++ b/react/features/participants-pane/components/web/FooterContextMenu.js @@ -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); diff --git a/react/features/video-menu/components/web/ParticipantContextMenu.js b/react/features/video-menu/components/web/ParticipantContextMenu.js index dcfd7e239..f8dc6856a 100644 --- a/react/features/video-menu/components/web/ParticipantContextMenu.js +++ b/react/features/video-menu/components/web/ParticipantContextMenu.js @@ -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);