fix: update dependencies in multiple tables to include updateSortingFilter in effect dependencies

This commit is contained in:
rstubryan
2025-10-09 11:35:22 +07:00
parent d7ae7e00d3
commit b561ed6193
8 changed files with 46 additions and 19 deletions
@@ -270,7 +270,7 @@ const WarehousesTable = () => {
updateSortingFilter('areaSort', areaSortFilter);
updateSortingFilter('locationSort', locationSortFilter);
updateSortingFilter('kandangSort', kandangSortFilter);
}, [sorting]);
}, [sorting, updateSortingFilter]);
return (
<>