Update eslint to 8.27.0

This commit is contained in:
Fedor Indutny 2022-11-17 16:45:19 -08:00 committed by GitHub
parent c8fb43a846
commit 98ef4c627a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
499 changed files with 8995 additions and 8494 deletions

View file

@ -27,13 +27,13 @@ import { nonRenderedRemoteParticipant } from '../util/ringrtc/nonRenderedRemoteP
// less than `MAX_FRAME_HEIGHT`.
const PIP_VIDEO_HEIGHT_PX = 120;
const NoVideo = ({
function NoVideo({
activeCall,
i18n,
}: {
activeCall: ActiveCallType;
i18n: LocalizerType;
}): JSX.Element => {
}): JSX.Element {
const {
acceptedMessageRequest,
avatarPath,
@ -68,7 +68,7 @@ const NoVideo = ({
</CallBackgroundBlur>
</div>
);
};
}
export type PropsType = {
activeCall: ActiveCallType;
@ -81,13 +81,13 @@ export type PropsType = {
setRendererCanvas: (_: SetRendererCanvasType) => void;
};
export const CallingPipRemoteVideo = ({
export function CallingPipRemoteVideo({
activeCall,
getGroupCallVideoFrameSource,
i18n,
setGroupCallVideoRequest,
setRendererCanvas,
}: PropsType): JSX.Element => {
}: PropsType): JSX.Element {
const { conversation } = activeCall;
const getGroupCallFrameBuffer = useGetCallingFrameBuffer();
@ -177,4 +177,4 @@ export const CallingPipRemoteVideo = ({
default:
throw missingCaseError(activeCall);
}
};
}