Merge pull request #12674 from ramonlsouza/rm-unused-code

refactor: remove unused variables
This commit is contained in:
Anton Georgiev 2021-07-02 14:33:20 -04:00 committed by GitHub
commit 4bcf7c467d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export class PeerTubePlayer extends Component {
}
getEmbedUrl = () => {
const { config, url } = this.props;
const { url } = this.props;
const m = MATCH_URL.exec(url);
return `${m[1]}://${m[2]}/videos/embed/${m[3]}?api=1&controls=${true}`;

View File

@ -639,7 +639,6 @@ class VideoService {
}
disableReason() {
const { viewParticipantsWebcams } = Settings.dataSaving;
const locks = {
videoLocked: this.isUserLocked(),
videoConnecting: this.isConnecting,