Skip to content

Commit

Permalink
Merge pull request #36477 from Amoralchik/amoralchik-fix-Workspace-In…
Browse files Browse the repository at this point in the history
…finite-skeleton-loading

Fix Workspace - Infinite skeleton loading when member is removed from…
  • Loading branch information
MonilBhavsar authored Feb 15, 2024
2 parents 1c0d126 + e04c644 commit 3870287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ function ReportScreen({
const didSubscribeToReportLeavingEvents = useRef(false);

useEffect(() => {
if (!report || !report.reportID || shouldHideReport) {
if (!report.reportID || shouldHideReport) {
wasReportAccessibleRef.current = false;
return;
}
wasReportAccessibleRef.current = true;
Expand Down

0 comments on commit 3870287

Please sign in to comment.