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 (