diff --git a/lightrag_webui/src/components/documents/ClearDocumentsDialog.tsx b/lightrag_webui/src/components/documents/ClearDocumentsDialog.tsx index 878ba030..2f27867a 100644 --- a/lightrag_webui/src/components/documents/ClearDocumentsDialog.tsx +++ b/lightrag_webui/src/components/documents/ClearDocumentsDialog.tsx @@ -20,15 +20,15 @@ import { EraserIcon, AlertTriangleIcon } from 'lucide-react' import { useTranslation } from 'react-i18next' // 简单的Label组件 -const Label = ({ - htmlFor, - className, - children, - ...props +const Label = ({ + htmlFor, + className, + children, + ...props }: React.LabelHTMLAttributes) => ( -