From 96fc48d8f8c868fbd7d637389b29c2477018ac78 Mon Sep 17 00:00:00 2001 From: mkzie2 Date: Mon, 23 Sep 2024 17:03:23 +0700 Subject: [PATCH] fix lint error --- src/components/ValidateCodeActionModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ValidateCodeActionModal/index.tsx b/src/components/ValidateCodeActionModal/index.tsx index af4d39dc8ae..d287db2a695 100644 --- a/src/components/ValidateCodeActionModal/index.tsx +++ b/src/components/ValidateCodeActionModal/index.tsx @@ -28,7 +28,7 @@ function ValidateCodeActionModal({isVisible, title, description, onClose, valida const onHide = useCallback(() => { clearError(); onModalHide?.(); - }, [onModalHide, onClose]); + }, [onModalHide, clearError]); useEffect(() => { if (!firstRenderRef.current || !isVisible) {