Skip to content

Commit

Permalink
fixed some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinteodor committed Oct 24, 2024
1 parent a6105a1 commit 84b0359
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion react/features/base/media/components/native/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useSelector } from 'react-redux';

import { IReduxState } from '../../../../app/types';
import Pressable from '../../../react/components/native/Pressable';

import logger from '../../logger';

import VideoTransform from './VideoTransform';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ class ParticipantView extends Component<IProps> {
participantId = { participantId }
size = { avatarSize } />
</View>
)
};
);
}

/**
* Implements React's {@link Component#render()}.
Expand Down
2 changes: 1 addition & 1 deletion react/features/base/participants/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { getCurrentConference } from '../conference/functions';
import { ADD_PEOPLE_ENABLED } from '../flags/constants';
import { getFeatureFlag } from '../flags/functions';
import i18next from '../i18n/i18next';
import { shouldRenderVideoTrack } from '../media/functions';
import { MEDIA_TYPE, MediaType, VIDEO_TYPE } from '../media/constants';
import { shouldRenderVideoTrack } from '../media/functions';
import { toState } from '../redux/functions';
import { getScreenShareTrack, getVideoTrackByParticipant, isLocalTrackMuted } from '../tracks/functions.any';
import { createDeferred } from '../util/helpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { connect } from 'react-redux';

import { IReduxState } from '../../../app/types';
import { PIP_WHILE_SCREEN_SHARING_ENABLED } from '../../../base/flags/constants';
import { getFeatureFlag } from '../../../base/flags/functions';
// import { PIP_WHILE_SCREEN_SHARING_ENABLED } from '../../../base/flags/constants';

Check failure on line 4 in react/features/mobile/picture-in-picture/components/PictureInPictureButton.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected line before comment
// import { getFeatureFlag } from '../../../base/flags/functions';
import { translate } from '../../../base/i18n/functions';
import { IconArrowDown } from '../../../base/icons/svg';
import AbstractButton, { IProps as AbstractButtonProps } from '../../../base/toolbox/components/AbstractButton';
import { isLocalVideoTrackDesktop } from '../../../base/tracks/functions.native';
// import { isLocalVideoTrackDesktop } from '../../../base/tracks/functions.native';

Check failure on line 9 in react/features/mobile/picture-in-picture/components/PictureInPictureButton.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected line before comment
import { enterPictureInPicture } from '../actions';
import { isPipEnabled } from '../functions';
// import { isPipEnabled } from '../functions';

Check failure on line 11 in react/features/mobile/picture-in-picture/components/PictureInPictureButton.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected line before comment

interface IProps extends AbstractButtonProps {

Expand Down
2 changes: 1 addition & 1 deletion react/features/mobile/picture-in-picture/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ReducerRegistry.register<IMobilePictureInPictureState>(STORE_NAME, (state = DEFA
return {
...state,
enableIosPIP
}
};
}

default:
Expand Down

0 comments on commit 84b0359

Please sign in to comment.