diff --git a/src/components/dashboard/machinary-office/Form/ConfirmForm.jsx b/src/components/dashboard/machinary-office/Form/ConfirmForm.jsx index 6166ff4..f2988ef 100644 --- a/src/components/dashboard/machinary-office/Form/ConfirmForm.jsx +++ b/src/components/dashboard/machinary-office/Form/ConfirmForm.jsx @@ -61,6 +61,7 @@ const ConfirmForm = ({ open, handleClose, rowId, confirmData }) => { const maxFileSize = 2 * 1024 * 1024; if (uploadedFile.size > maxFileSize) { UploadFileNotification(directionApp, t); + event.target.value = ""; return; } const fileType = event.target?.files?.[0].type;