CEC-5189: expand dependency array (#460)
* CEC-5189: expand dependency array * add missing deps * remove some deps
This commit is contained in:
@@ -55,7 +55,6 @@ export default function useQuery() {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
setPayload({
|
||||
search,
|
||||
vins: vins.join(","),
|
||||
|
||||
@@ -125,7 +125,10 @@ const CarSelectionTable = (props) => {
|
||||
}
|
||||
})();
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [pageIndex, pageSize, orderBy, order, token]);
|
||||
}, [
|
||||
pageIndex, pageSize, orderBy, order, token,
|
||||
search.search, search.vins, search.online, search.online_hmi
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
setPageIndex(0);
|
||||
|
||||
Reference in New Issue
Block a user