more
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -38,7 +38,8 @@ const Dashboard = () => {
|
||||
setIsMobile(window.innerWidth < 440);
|
||||
}
|
||||
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);
|
||||
}
|
||||
return () => {
|
||||
count.current = 1;
|
||||
const temp = (count.current = count.current + 1);
|
||||
count.current = temp;
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user