From 6a0e24f82568527f149e146b96589238ba11cc5f Mon Sep 17 00:00:00 2001 From: Anusha Date: Wed, 15 May 2024 20:14:12 +0500 Subject: [PATCH] add comment --- src/pages/home/ReportScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/ReportScreen.tsx b/src/pages/home/ReportScreen.tsx index 140ef14d7e47..8620d8d4866e 100644 --- a/src/pages/home/ReportScreen.tsx +++ b/src/pages/home/ReportScreen.tsx @@ -525,7 +525,7 @@ function ReportScreen({ isRemovalExpectedForReportType || isClosedTopLevelPolicyRoom ) { - // If the report isn't focused, navigation to Concierge Chat should be avoided. + // Early return if the report we're passing isn't in a focused state. We only want to navigate to Concierge if the user leaves the room from another device or gets removed from the room while the report is in a focused state. if (!isFocused) { return; }