diff --git a/react/features/video-quality/components/VideoQualityLabel.web.js b/react/features/video-quality/components/VideoQualityLabel.web.js index fd9f95feb..d23a3e607 100644 --- a/react/features/video-quality/components/VideoQualityLabel.web.js +++ b/react/features/video-quality/components/VideoQualityLabel.web.js @@ -64,7 +64,7 @@ export class VideoQualityLabel extends AbstractVideoQualityLabel { return null; } - let className, icon, labelContent, onClick, tooltipKey; + let className, icon, labelContent, tooltipKey; if (_audioOnly) { className = 'audio-only'; @@ -73,10 +73,10 @@ export class VideoQualityLabel extends AbstractVideoQualityLabel { } else { className = 'current-video-quality'; icon = IconGauge; - onClick = () => dispatch(openDialog(VideoQualityDialog)); tooltipKey = 'videoStatus.performanceSettings'; } + const onClick = () => dispatch(openDialog(VideoQualityDialog)); return ( { className = { className } icon = { icon } id = 'videoResolutionLabel' + // eslint-disable-next-line react/jsx-no-bind onClick = { onClick } text = { labelContent } />