From 93d41f3f91b09dada76e33285311e3d62ace7437 Mon Sep 17 00:00:00 2001 From: Ramon Souza <contato@ramonsouza.com> Date: Fri, 7 May 2021 08:54:01 -0300 Subject: [PATCH] remove unused variables --- .../imports/api/cursor/server/handlers/cursorUpdate.js | 2 -- .../imports/ui/components/checkbox/component.jsx | 2 +- .../external-video-player/custom-players/peertube.jsx | 2 -- bigbluebutton-html5/imports/ui/components/media/component.jsx | 1 - .../ui/components/presentation/default-content/component.jsx | 2 -- 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/bigbluebutton-html5/imports/api/cursor/server/handlers/cursorUpdate.js b/bigbluebutton-html5/imports/api/cursor/server/handlers/cursorUpdate.js index e0f3f8a258..066ee7bf3c 100755 --- a/bigbluebutton-html5/imports/api/cursor/server/handlers/cursorUpdate.js +++ b/bigbluebutton-html5/imports/api/cursor/server/handlers/cursorUpdate.js @@ -3,8 +3,6 @@ import CursorStreamer from '/imports/api/cursor/server/streamer'; import Logger from '/imports/startup/server/logger'; import _ from 'lodash'; -const { streamerLog } = Meteor.settings.private.serverLog; - const CURSOR_PROCCESS_INTERVAL = 30; const cursorQueue = {}; diff --git a/bigbluebutton-html5/imports/ui/components/checkbox/component.jsx b/bigbluebutton-html5/imports/ui/components/checkbox/component.jsx index 0321b31fe4..926dd7cbeb 100644 --- a/bigbluebutton-html5/imports/ui/components/checkbox/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/checkbox/component.jsx @@ -62,7 +62,7 @@ export default class Checkbox extends PureComponent { render() { const { - ariaLabel, ariaLabelledBy, ariaDesc, ariaDescribedBy, + ariaLabel, ariaDesc, ariaDescribedBy, className, checked, disabled, } = this.props; diff --git a/bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/peertube.jsx b/bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/peertube.jsx index ea0c0d88a2..c08c13697d 100644 --- a/bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/peertube.jsx +++ b/bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/peertube.jsx @@ -71,8 +71,6 @@ export class PeerTubePlayer extends Component { const { config, url } = this.props; const m = MATCH_URL.exec(url); - const isPresenter = config && config.peertube && config.peertube.isPresenter; - return `${m[1]}://${m[2]}/videos/embed/${m[3]}?api=1&controls=${true}`; }; diff --git a/bigbluebutton-html5/imports/ui/components/media/component.jsx b/bigbluebutton-html5/imports/ui/components/media/component.jsx index 32d86b03ab..4e578bb18d 100644 --- a/bigbluebutton-html5/imports/ui/components/media/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/media/component.jsx @@ -69,7 +69,6 @@ export default class Media extends Component { }); const { viewParticipantsWebcams } = Settings.dataSaving; const showVideo = usersVideo.length > 0 && viewParticipantsWebcams && isMeteorConnected; - const fullHeight = !showVideo || (webcamsPlacement === 'floating'); return ( <div diff --git a/bigbluebutton-html5/imports/ui/components/presentation/default-content/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/default-content/component.jsx index 399ca470ff..c25d1eb326 100644 --- a/bigbluebutton-html5/imports/ui/components/presentation/default-content/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/default-content/component.jsx @@ -4,8 +4,6 @@ import { TransitionGroup, CSSTransition } from 'react-transition-group'; import cx from 'classnames'; import { styles } from './styles.scss'; -const LAYOUT_CONFIG = Meteor.settings.public.layout; - export default (props) => { const { autoSwapLayout, hidePresentation } = props; return ( -- GitLab