This commit is contained in:
Kenneth Jannette
2024-01-12 17:18:30 -06:00
parent fc032da063
commit 8b11fae765
3 changed files with 50 additions and 20 deletions

View File

@@ -28,6 +28,9 @@ const CaseListPage = ({ perPage }) => {
if (count.current == null) {
setIsMobile(window.innerWidth < 440);
}
if (count.current < 3) {
setIsMobile(window.innerWidth < 440);
}
return () => {
count.current = 1;
};