Merge pull request #21245 from ramonlsouza/sonarcloud-set24
refactor: sonarcloud alerts
This commit is contained in:
commit
575091b4b9
@ -506,10 +506,7 @@ const ChatMessageForm: React.FC<ChatMessageFormProps> = ({
|
||||
return renderForm();
|
||||
};
|
||||
|
||||
// eslint-disable-next-line no-empty-pattern
|
||||
const ChatMessageFormContainer: React.FC = ({
|
||||
// connected, move to network status
|
||||
}) => {
|
||||
const ChatMessageFormContainer: React.FC = () => {
|
||||
const intl = useIntl();
|
||||
const idChatOpen: string = layoutSelect((i: Layout) => i.idChatOpen);
|
||||
const isRTL = layoutSelect((i: Layout) => i.isRTL);
|
||||
|
@ -274,7 +274,6 @@ const RecordingIndicator: React.FC<RecordingIndicatorProps> = ({
|
||||
setShouldNotify((prev) => !prev);
|
||||
}}
|
||||
priority="high"
|
||||
setIsOpen={setIsRecordingNotifyModalOpen}
|
||||
isOpen={isRecordingNotifyModalOpen}
|
||||
closeModal={() => {
|
||||
setIsRecordingNotifyModalOpen(false);
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { Dispatch, SetStateAction, useCallback } from 'react';
|
||||
import React, { useCallback } from 'react';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import { USER_LEAVE_MEETING } from '/imports/ui/core/graphql/mutations/userMutations';
|
||||
import { useMutation } from '@apollo/client';
|
||||
@ -40,8 +40,6 @@ const LOGOUT_CODE = '680';
|
||||
interface RecordingNotifyModalProps {
|
||||
toggleShouldNotify: () => void;
|
||||
closeModal: () => void;
|
||||
// eslint-disable-next-line react/no-unused-prop-types
|
||||
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
||||
isOpen: boolean;
|
||||
priority: string;
|
||||
}
|
||||
|
@ -1094,7 +1094,6 @@ const Whiteboard = React.memo((props) => {
|
||||
adjustedZoom = calculateZoomWithGapValue(
|
||||
currentPresentationPage.scaledWidth,
|
||||
currentPresentationPage.scaledHeight,
|
||||
false,
|
||||
widthGap,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user