Commit 511de822 authored by Joel's avatar Joel

fix: file array not sync

parent 93f8fe84
...@@ -50,7 +50,7 @@ const DatasetUpdateForm = ({ datasetId }: DatasetUpdateFormProps) => { ...@@ -50,7 +50,7 @@ const DatasetUpdateForm = ({ datasetId }: DatasetUpdateFormProps) => {
...fileItem, ...fileItem,
progress, progress,
} }
setFiles(list) setFiles([...list])
} }
const updateIndexingTypeCache = (type: string) => { const updateIndexingTypeCache = (type: string) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment