Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodebrute committed May 15, 2024
1 parent c1eb93d commit 6a0e24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6a0e24f

Please sign in to comment.