From efc15d89ae721974779507e48b5736f1dd596415 Mon Sep 17 00:00:00 2001 From: Ramon Souza Date: Wed, 23 Jun 2021 15:32:12 -0300 Subject: [PATCH] remove unused code --- .../api/screenshare/server/handlers/screenshareStarted.js | 1 - .../imports/ui/components/breakout-room/service.js | 1 - .../imports/ui/components/chat/message-form/component.jsx | 1 - .../imports/ui/components/dropdown/component.jsx | 2 +- .../imports/ui/components/dropdown/trigger/component.jsx | 1 - .../ui/components/nav-bar/talking-indicator/component.jsx | 1 - .../user-list-item/user-dropdown/component.jsx | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) diff --git a/bigbluebutton-html5/imports/api/screenshare/server/handlers/screenshareStarted.js b/bigbluebutton-html5/imports/api/screenshare/server/handlers/screenshareStarted.js index 0da6fc17a4..aacc7d1eea 100644 --- a/bigbluebutton-html5/imports/api/screenshare/server/handlers/screenshareStarted.js +++ b/bigbluebutton-html5/imports/api/screenshare/server/handlers/screenshareStarted.js @@ -1,6 +1,5 @@ import { check } from 'meteor/check'; import addScreenshare from '../modifiers/addScreenshare'; -import Logger from '/imports/startup/server/logger'; export default function handleScreenshareStarted({ body }, meetingId) { check(meetingId, String); diff --git a/bigbluebutton-html5/imports/ui/components/breakout-room/service.js b/bigbluebutton-html5/imports/ui/components/breakout-room/service.js index c873247fe3..3d534795aa 100644 --- a/bigbluebutton-html5/imports/ui/components/breakout-room/service.js +++ b/bigbluebutton-html5/imports/ui/components/breakout-room/service.js @@ -2,7 +2,6 @@ import Breakouts from '/imports/api/breakouts'; import Meetings, { MeetingTimeRemaining } from '/imports/api/meetings'; import { makeCall } from '/imports/ui/services/api'; import Auth from '/imports/ui/services/auth'; -import { Session } from 'meteor/session'; import Users from '/imports/api/users'; import UserListService from '/imports/ui/components/user-list/service'; import fp from 'lodash/fp'; diff --git a/bigbluebutton-html5/imports/ui/components/chat/message-form/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/message-form/component.jsx index 55bc1169bc..419bb6a02c 100755 --- a/bigbluebutton-html5/imports/ui/components/chat/message-form/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/message-form/component.jsx @@ -262,7 +262,6 @@ class MessageForm extends PureComponent { title, disabled, className, - chatAreaId, idChatOpen, partnerIsLoggedOut, } = this.props; diff --git a/bigbluebutton-html5/imports/ui/components/dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/dropdown/component.jsx index c6c257a353..e19ef64adc 100644 --- a/bigbluebutton-html5/imports/ui/components/dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/dropdown/component.jsx @@ -1,4 +1,4 @@ -import React, { Component, Fragment } from 'react'; +import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { findDOMNode } from 'react-dom'; import TetherComponent from 'react-tether'; diff --git a/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx b/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx index ba319d34de..6001f150f5 100644 --- a/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx @@ -1,6 +1,5 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import { findDOMNode } from 'react-dom'; import cx from 'classnames'; import KEY_CODES from '/imports/utils/keyCodes'; diff --git a/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/component.jsx b/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/component.jsx index af70fece08..3e20e15297 100644 --- a/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/component.jsx @@ -4,7 +4,6 @@ import _ from 'lodash'; import { defineMessages, injectIntl } from 'react-intl'; import Button from '/imports/ui/components/button/component'; import { styles } from './styles'; -import { PANELS } from '../../layout/enums'; const intlMessages = defineMessages({ wasTalking: { diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx index 2c2619ae67..fca1c6351d 100755 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx @@ -578,7 +578,6 @@ class UserDropdown extends PureComponent { render() { const { compact, - currentUser, user, intl, isThisMeetingLocked,