This commit is contained in:
Kenneth Jannette
2024-01-13 14:19:22 -06:00
parent 9fe2e61a1d
commit f8c5f576e8
4 changed files with 7 additions and 4 deletions

View File

@@ -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;
};
}, []);