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

@ -84,14 +84,14 @@ enum VideoRequestMode {
// "scalar": how much can we scale these boxes up while still fitting them on the
// screen? The biggest scalar wins as the "best arrangement".
// 4. Lay out this arrangement on the screen.
export const GroupCallRemoteParticipants: React.FC<PropsType> = ({
export function GroupCallRemoteParticipants({
getGroupCallVideoFrameSource,
i18n,
isInSpeakerView,
remoteParticipants,
setGroupCallVideoRequest,
remoteAudioLevels,
}) => {
}: PropsType): JSX.Element {
const [containerDimensions, setContainerDimensions] = useState<Dimensions>({
width: 0,
height: 0,
@ -443,7 +443,7 @@ export const GroupCallRemoteParticipants: React.FC<PropsType> = ({
)}
</Measure>
);
};
}
// This function is only meant for use with `useInvisibleParticipants`. It helps avoid
// returning new set instances when the underlying values are equal.