diff --git a/frontend/src/components/ExtractUploadFile.tsx b/frontend/src/components/ExtractUploadFile.tsx index 255182ee..6105acbc 100644 --- a/frontend/src/components/ExtractUploadFile.tsx +++ b/frontend/src/components/ExtractUploadFile.tsx @@ -155,7 +155,7 @@ export const ExtractUploadFile: React.FC = ({ if (files.length > 0) { setUploadedFile([]); clearFiles(); - setHasError(false); + setError(null); } setUploadedFile(files); const filesObj: IFilesObj = { files };