Remove unused eslint-disables

This commit is contained in:
Evan Hahn 2022-06-03 21:07:51 +00:00 committed by GitHub
parent 63189f3f91
commit f50a6abe36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 68 additions and 142 deletions

View file

@ -213,9 +213,6 @@ export const GroupCallRemoteParticipant: React.FC<PropsType> = React.memo(
let avatarSize: number;
// TypeScript isn't smart enough to know that `isInPip` by itself disambiguates the
// types, so we have to use `props.isInPip` instead.
// eslint-disable-next-line react/destructuring-assignment
if (props.isInPip) {
containerStyles = canvasStyles;
avatarSize = AvatarSize.FIFTY_TWO;