From be45c0319e3d98bbea12ca5f5d5318d2fe0624d6 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Wed, 2 Feb 2022 16:05:15 -0800 Subject: [PATCH] Fix InCallView --- src/room/InCallView.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/room/InCallView.jsx b/src/room/InCallView.jsx index 8f84deb..3575263 100644 --- a/src/room/InCallView.jsx +++ b/src/room/InCallView.jsx @@ -62,7 +62,7 @@ export function InCallView({ } for (const callFeed of screenshareFeeds) { - const userMediaItem = items.find( + const userMediaItem = participants.find( (item) => item.callFeed.userId === callFeed.userId ); @@ -70,7 +70,7 @@ export function InCallView({ userMediaItem.presenter = true; } - items.push({ + participants.push({ id: callFeed.stream.id, callFeed, focused: true, @@ -147,7 +147,7 @@ export function InCallView({ {({ item, ...rest }) => (