yangdx commited on
Commit
56be926
·
1 Parent(s): ab73985

Fix linting

Browse files
lightrag_webui/src/components/documents/UploadDocumentsDialog.tsx CHANGED
@@ -27,7 +27,7 @@ export default function UploadDocumentsDialog() {
27
  async (filesToUpload: File[]) => {
28
  setIsUploading(true)
29
  setFileErrors({})
30
-
31
  try {
32
  toast.promise(
33
  (async () => {
@@ -42,7 +42,7 @@ export default function UploadDocumentsDialog() {
42
  [file.name]: percentCompleted
43
  }))
44
  })
45
-
46
  if (result.status !== 'success') {
47
  setFileErrors(prev => ({
48
  ...prev,
 
27
  async (filesToUpload: File[]) => {
28
  setIsUploading(true)
29
  setFileErrors({})
30
+
31
  try {
32
  toast.promise(
33
  (async () => {
 
42
  [file.name]: percentCompleted
43
  }))
44
  })
45
+
46
  if (result.status !== 'success') {
47
  setFileErrors(prev => ({
48
  ...prev,