feat(native-participants-pane) fixed lint errors
This commit is contained in:
parent
cb0b68f840
commit
0c76d7532c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue