feat(native-participants-pane) fixed lint errors

This commit is contained in:
Calin Chitu 2021-05-19 19:01:11 +03:00 committed by Hristo Terezov
parent cb0b68f840
commit 0c76d7532c
1 changed files with 1 additions and 3 deletions

View File

@ -4,11 +4,10 @@ import React, { useCallback } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { View } from 'react-native'; import { View } from 'react-native';
import { Button, withTheme } from 'react-native-paper'; import { Button, withTheme } from 'react-native-paper';
import { useDispatch, useSelector } from 'react-redux'; import { useDispatch } from 'react-redux';
import { Icon, IconClose, IconHorizontalPoints } from '../../../base/icons'; import { Icon, IconClose, IconHorizontalPoints } from '../../../base/icons';
import { JitsiModal } from '../../../base/modal'; import { JitsiModal } from '../../../base/modal';
import { isLocalParticipantModerator } from '../../../base/participants';
import { close } from '../../actions.any'; import { close } from '../../actions.any';
import styles from './styles'; import styles from './styles';
@ -35,7 +34,6 @@ function ParticipantsPane({ theme }: Props) {
const closePane = useCallback( const closePane = useCallback(
() => dispatch(close()), () => dispatch(close()),
[ dispatch ]); [ dispatch ]);
const isLocalModerator = useSelector(isLocalParticipantModerator);
const { t } = useTranslation(); const { t } = useTranslation();
const { palette } = theme; const { palette } = theme;