diff --git a/src/pages/PrivateNotes/PrivateNotesListPage.js b/src/pages/PrivateNotes/PrivateNotesListPage.js index 9ec24fcd9181..4d83879654bf 100644 --- a/src/pages/PrivateNotes/PrivateNotesListPage.js +++ b/src/pages/PrivateNotes/PrivateNotesListPage.js @@ -64,11 +64,11 @@ function PrivateNotesListPage({report, personalDetailsList, network, session}) { const {translate} = useLocalize(); useEffect(() => { - if (network.isOffline) { + if (network.isOffline && report.isLoadingPrivateNotes) { return; } Report.getReportPrivateNote(report.reportID); - }, [report.reportID, network.isOffline]); + }, [report.reportID, network.isOffline, report.isLoadingPrivateNotes]); /** * Gets the menu item for each workspace