Skip to content
Snippets Groups Projects
Unverified Commit 85d33b8d authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12316 from ramonlsouza/rm-unused

refactor: remove unused variables
parents 03239e98 93d41f3f
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,6 @@ import CursorStreamer from '/imports/api/cursor/server/streamer'; ...@@ -3,8 +3,6 @@ import CursorStreamer from '/imports/api/cursor/server/streamer';
import Logger from '/imports/startup/server/logger'; import Logger from '/imports/startup/server/logger';
import _ from 'lodash'; import _ from 'lodash';
const { streamerLog } = Meteor.settings.private.serverLog;
const CURSOR_PROCCESS_INTERVAL = 30; const CURSOR_PROCCESS_INTERVAL = 30;
const cursorQueue = {}; const cursorQueue = {};
......
...@@ -62,7 +62,7 @@ export default class Checkbox extends PureComponent { ...@@ -62,7 +62,7 @@ export default class Checkbox extends PureComponent {
render() { render() {
const { const {
ariaLabel, ariaLabelledBy, ariaDesc, ariaDescribedBy, ariaLabel, ariaDesc, ariaDescribedBy,
className, checked, disabled, className, checked, disabled,
} = this.props; } = this.props;
......
...@@ -71,8 +71,6 @@ export class PeerTubePlayer extends Component { ...@@ -71,8 +71,6 @@ export class PeerTubePlayer extends Component {
const { config, url } = this.props; const { config, url } = this.props;
const m = MATCH_URL.exec(url); 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}`; return `${m[1]}://${m[2]}/videos/embed/${m[3]}?api=1&controls=${true}`;
}; };
......
...@@ -69,7 +69,6 @@ export default class Media extends Component { ...@@ -69,7 +69,6 @@ export default class Media extends Component {
}); });
const { viewParticipantsWebcams } = Settings.dataSaving; const { viewParticipantsWebcams } = Settings.dataSaving;
const showVideo = usersVideo.length > 0 && viewParticipantsWebcams && isMeteorConnected; const showVideo = usersVideo.length > 0 && viewParticipantsWebcams && isMeteorConnected;
const fullHeight = !showVideo || (webcamsPlacement === 'floating');
return ( return (
<div <div
......
...@@ -4,8 +4,6 @@ import { TransitionGroup, CSSTransition } from 'react-transition-group'; ...@@ -4,8 +4,6 @@ import { TransitionGroup, CSSTransition } from 'react-transition-group';
import cx from 'classnames'; import cx from 'classnames';
import { styles } from './styles.scss'; import { styles } from './styles.scss';
const LAYOUT_CONFIG = Meteor.settings.public.layout;
export default (props) => { export default (props) => {
const { autoSwapLayout, hidePresentation } = props; const { autoSwapLayout, hidePresentation } = props;
return ( return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment