From 464c7b23549b5ae1d7cbc595293a5ecf9afe0b04 Mon Sep 17 00:00:00 2001 From: knguyenrise8 <159168836+knguyenrise8@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:57:04 -0600 Subject: [PATCH] fix(Rv-no-id): Fix error (#508) --- frontend/src/components/ExtractUploadFile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };