浏览代码

feat(native-participants-pane) fixed lint errors

master
Calin Chitu 4 年前
父节点
当前提交
0c76d7532c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      react/features/participants-pane/components/native/ParticipantsPane.js

+ 1
- 3
react/features/participants-pane/components/native/ParticipantsPane.js 查看文件

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

正在加载...
取消
保存