From f28abc9c74dc914bb3669fa5039d44b8149e23aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Fri, 1 May 2020 23:34:29 +0200 Subject: [PATCH] Fix videoview in videowindow --- app/src/components/VideoWindow/VideoWindow.js | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/app/src/components/VideoWindow/VideoWindow.js b/app/src/components/VideoWindow/VideoWindow.js index e478070..7dcf970 100644 --- a/app/src/components/VideoWindow/VideoWindow.js +++ b/app/src/components/VideoWindow/VideoWindow.js @@ -23,18 +23,29 @@ const VideoWindow = (props) => !consumer.remotelyPaused ); - let consumerProfile; - - if (consumer) - consumerProfile = consumer.profile; - return ( );