diff --git a/src/components/views/voip/AudioFeedArrayForCall.tsx b/src/components/views/voip/AudioFeedArrayForCall.tsx index fac2a22dcd..bfe232d799 100644 --- a/src/components/views/voip/AudioFeedArrayForCall.tsx +++ b/src/components/views/voip/AudioFeedArrayForCall.tsx @@ -25,7 +25,6 @@ interface IProps { interface IState { feeds: Array; - onHold: boolean; } export default class AudioFeedArrayForCall extends React.Component { @@ -34,18 +33,15 @@ export default class AudioFeedArrayForCall extends React.Component { @@ -54,20 +50,11 @@ export default class AudioFeedArrayForCall extends React.Component { - this.setState({onHold: onHold}); - } - render() { - // If we are onHold don't render any audio elements - if (this.state.onHold) return null; - - const feeds = this.state.feeds.map((feed, i) => { + return this.state.feeds.map((feed, i) => { return ( ); }); - - return feeds; } }