LFFE-18 debuging
This commit is contained in:
@@ -25,7 +25,7 @@ const ConfirmContent = ({rowId, mutate, setOpenConfirmDialog}) => {
|
||||
})
|
||||
.test('fileType', `${t("NavganProvinceManager.upload_file_format")}`, (value) => {
|
||||
if (!value) return true
|
||||
const allowedTypes = ['image/jpeg', 'image/jpeg', 'image/png', 'application/pdf']; // Define your allowed file types
|
||||
const allowedTypes = ['image/jpg', 'image/jpeg', 'image/png', 'application/pdf']; // Define your allowed file types
|
||||
return allowedTypes.includes(value.type);
|
||||
})
|
||||
})
|
||||
@@ -71,7 +71,6 @@ const ConfirmContent = ({rowId, mutate, setOpenConfirmDialog}) => {
|
||||
setShowAddIcon(false);
|
||||
}
|
||||
};
|
||||
console.log(formik.values.confirm_img)
|
||||
return (
|
||||
<>
|
||||
<DialogContent>
|
||||
|
||||
Reference in New Issue
Block a user