From e13473d42f388ced7088bde5e6f8d82549b29fd9 Mon Sep 17 00:00:00 2001 From: Calin Chitu Date: Tue, 8 Jun 2021 18:58:53 +0300 Subject: [PATCH] feat(native-participants-pane) fixed lint error --- react/features/video-menu/components/native/VolumeSlider.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/react/features/video-menu/components/native/VolumeSlider.js b/react/features/video-menu/components/native/VolumeSlider.js index 079cd4ab6..97e957d16 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 { * @returns {ReactElement} */ render() { + const { theme } = this.props; const { volumeLevel } = this.state; - const { palette } = this.props.theme; + const { palette } = theme; return (