Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(native-participants-pane) fixed lint error

Calin Chitue13473d42f38
diff --git a/react/features/video-menu/components/native/VolumeSlider.js b/react/features/video-menu/components/native/VolumeSlider.js
index 079cd4ab6d..97e957d160 100644
--- a/react/features/video-menu/components/native/VolumeSlider.js
+++ b/react/features/video-menu/components/native/VolumeSlider.js
@@ -30,7 +30,7 @@ type Props = {
/**
* Theme used for styles.
*/
- theme?: Object
+ theme: Object
};
/**
@@ -76,8 +76,9 @@ class VolumeSlider extends Component<Props, State> {
* @returns {ReactElement}
*/
render() {
+ const { theme } = this.props;
const { volumeLevel } = this.state;
- const { palette } = this.props.theme;
+ const { palette } = theme;
return (
<View style = { styles.volumeSliderContainer }>