From f8c5f576e892b9ec98c929b24a92e3a3ddd370fb Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Sat, 13 Jan 2024 14:19:22 -0600 Subject: [PATCH] more --- src/Components/Case/CaseListPage.js | 3 ++- src/Components/Dashboard/Dashboard.js | 3 ++- src/Components/Document/DocumentListPage.js | 3 ++- src/pageElements/Cards.js | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Components/Case/CaseListPage.js b/src/Components/Case/CaseListPage.js index fbf655a..0131d21 100644 --- a/src/Components/Case/CaseListPage.js +++ b/src/Components/Case/CaseListPage.js @@ -32,7 +32,8 @@ const CaseListPage = ({ perPage }) => { setIsMobile(window.innerWidth < 440); } return () => { - count.current = 1; + const temp = (count.current = count.current + 1); + count.current = temp; }; }, []); diff --git a/src/Components/Dashboard/Dashboard.js b/src/Components/Dashboard/Dashboard.js index 86f2e91..736de01 100644 --- a/src/Components/Dashboard/Dashboard.js +++ b/src/Components/Dashboard/Dashboard.js @@ -38,7 +38,8 @@ const Dashboard = () => { setIsMobile(window.innerWidth < 440); } return () => { - count.current = 1; + const temp = (count.current = count.current + 1); + count.current = temp; }; }, []); diff --git a/src/Components/Document/DocumentListPage.js b/src/Components/Document/DocumentListPage.js index 1837224..e0f618a 100644 --- a/src/Components/Document/DocumentListPage.js +++ b/src/Components/Document/DocumentListPage.js @@ -45,7 +45,8 @@ const DocumentListPage = ({ perPage }) => { setIsMobile(window.innerWidth < 440); } return () => { - count.current = 1; + const temp = (count.current = count.current + 1); + count.current = temp; }; }, []); diff --git a/src/pageElements/Cards.js b/src/pageElements/Cards.js index 7d95066..bc04cbb 100644 --- a/src/pageElements/Cards.js +++ b/src/pageElements/Cards.js @@ -279,7 +279,7 @@ export const DocCard = (props) => { console.log("report documentId, docType", documentId, docType); }; const tooltipText = - "Parsing is taking longer than usual. Reasons may include high traffic, or a transitory system error. Usually this will resolve in 10 minutes. If not, click “report”, and it will be fixed in 24 hours."; + "Parsing is taking longer than usual. Reasons may include high traffic, maintenance, or transitory system lag. Usually this will resolve in 10 minutes. If not, click “report”, and it will be fixed in 24 hours."; const disabled = docType ? false : true; return (