Skip to content

Commit

Permalink
Add isFocused check
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Apr 27, 2024
1 parent 9b2d16d commit 43915b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/home/report/ReportActionsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ function ReportActionsView({

if (
!reportActionID ||
!isFocused ||
isLoadingInitialReportActions ||
isLoadingOlderReportActions ||
network.isOffline ||
Expand All @@ -375,6 +376,7 @@ function ReportActionsView({
network.isOffline,
reportActions.length,
newestReportAction,
isFocused,
]);

/**
Expand Down

0 comments on commit 43915b3

Please sign in to comment.