video-provider: remove socket open state condition for rendering video-list

That check doesnt make sense anymore. Removing it makes the video list load faster and webcam sharing seem more responsive
This commit is contained in:
prlanzarin 2020-08-27 00:11:00 +00:00
parent 81868ce922
commit 191654814a

View File

@ -880,12 +880,10 @@ class VideoProvider extends Component {
render() {
const { swapLayout, currentVideoPageIndex } = this.props;
const { socketOpen } = this.state;
if (!socketOpen) return null;
const {
streams,
} = this.props;
return (
<VideoListContainer
streams={streams}