From 15c7452d7bcbb2caa99120a263a9e151746cd1d4 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 5 Mar 2026 14:15:41 +0700 Subject: [PATCH] chore(FE): Fix missing dependency in useEffect hook --- .../tab/ProductionResultProjectFlockKandangTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/report/production-result/tab/ProductionResultProjectFlockKandangTable.tsx b/src/components/pages/report/production-result/tab/ProductionResultProjectFlockKandangTable.tsx index 25b1bd28..ad34773e 100644 --- a/src/components/pages/report/production-result/tab/ProductionResultProjectFlockKandangTable.tsx +++ b/src/components/pages/report/production-result/tab/ProductionResultProjectFlockKandangTable.tsx @@ -263,7 +263,7 @@ const ProductionResultProjectFlockKandangTable = ({ updateFilter('filter_by', ''); updateFilter('sort_by', ''); } - }, [sorting]); + }, [sorting, updateFilter]); return (