From 584b495e4b2ba0ffde09e8736979872271fe28df Mon Sep 17 00:00:00 2001 From: rstubryan Date: Sat, 7 Mar 2026 12:01:46 +0700 Subject: [PATCH] refactor(FE): Fix missing dependency in useEffect hook --- .../transfer-to-laying/TransferToLayingDetailModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/production/transfer-to-laying/TransferToLayingDetailModal.tsx b/src/components/pages/production/transfer-to-laying/TransferToLayingDetailModal.tsx index f73ab265..68412b0f 100644 --- a/src/components/pages/production/transfer-to-laying/TransferToLayingDetailModal.tsx +++ b/src/components/pages/production/transfer-to-laying/TransferToLayingDetailModal.tsx @@ -82,7 +82,7 @@ const TransferToLayingDetailModal = () => { if (modalAction === 'detail') { detailModal.openModal(); } - }, [modalAction]); + }, [modalAction, detailModal]); return (