From 5570e3f80671112fac8c01f3b562c3e83502ef48 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 13 Sep 2023 14:32:21 +0100 Subject: [PATCH] More obvious syntax Co-authored-by: Timo <16718859+toger5@users.noreply.github.com> --- src/room/InCallView.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 3a91d383..24724fa3 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -595,9 +595,8 @@ function useParticipantTiles( } return newItems; - } - - previousTiles.current = items; - - return items; + } else { + previousTiles.current = items; + return items; +} }