Merge pull request #17 from kjannette/walt3

more
This commit is contained in:
S Jannette
2024-01-13 14:19:46 -06:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@@ -32,7 +32,8 @@ const CaseListPage = ({ perPage }) => {
setIsMobile(window.innerWidth < 440); setIsMobile(window.innerWidth < 440);
} }
return () => { return () => {
count.current = 1; const temp = (count.current = count.current + 1);
count.current = temp;
}; };
}, []); }, []);

View File

@@ -38,7 +38,8 @@ const Dashboard = () => {
setIsMobile(window.innerWidth < 440); setIsMobile(window.innerWidth < 440);
} }
return () => { return () => {
count.current = 1; const temp = (count.current = count.current + 1);
count.current = temp;
}; };
}, []); }, []);

View File

@@ -45,7 +45,8 @@ const DocumentListPage = ({ perPage }) => {
setIsMobile(window.innerWidth < 440); setIsMobile(window.innerWidth < 440);
} }
return () => { return () => {
count.current = 1; const temp = (count.current = count.current + 1);
count.current = temp;
}; };
}, []); }, []);

View File

@@ -279,7 +279,7 @@ export const DocCard = (props) => {
console.log("report documentId, docType", documentId, docType); console.log("report documentId, docType", documentId, docType);
}; };
const tooltipText = 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; const disabled = docType ? false : true;
return ( return (
<div className="doc-card-container"> <div className="doc-card-container">