confirm form handle change

This commit is contained in:
2023-07-24 16:06:23 +03:30
parent c149c697ea
commit f2b3d532ae

View File

@@ -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;