diff --git a/src/components/ValidateCodeActionModal/index.tsx b/src/components/ValidateCodeActionModal/index.tsx index 607994961099..0c20a2c68968 100644 --- a/src/components/ValidateCodeActionModal/index.tsx +++ b/src/components/ValidateCodeActionModal/index.tsx @@ -38,6 +38,7 @@ function ValidateCodeActionModal({ const hide = useCallback(() => { clearError(); onClose?.(); + firstRenderRef.current = true; }, [onClose, clearError]); useEffect(() => {