{indexingStatusBatchDetail.map(indexingStatusDetail => (
-
{fileItem.progress < 100 && (
@@ -274,33 +273,6 @@ const FileUploader = ({
))}
- {/* {currentFile && (
- onPreview(currentFile)}
- className={cn(
- s.file,
- uploading && s.uploading,
- // s.active,
- )}
- >
- {uploading && (
-
- )}
-
-
-
{currentFile.name}
-
{getFileSize(currentFile.size)}
-
-
- {uploading && (
-
{`${percent}%`}
- )}
- {!uploading && (
-
removeFile(index)}/>
- )}
-
-
- )} */}
)
diff --git a/web/app/components/datasets/create/step-one/index.tsx b/web/app/components/datasets/create/step-one/index.tsx
index bcae398e7e..450f09b405 100644
--- a/web/app/components/datasets/create/step-one/index.tsx
+++ b/web/app/components/datasets/create/step-one/index.tsx
@@ -65,7 +65,7 @@ const StepOne = ({
const { dataset } = useDatasetDetailContext()
const [showModal, setShowModal] = useState(false)
const [currentFile, setCurrentFile] = useState