more
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user