rev: alert file upload

Deskripsi;
- perbaiki alert file upload

No Issues
This commit is contained in:
amel
2025-01-05 17:34:27 +08:00
parent b2801480aa
commit 9b8ca0c99c
5 changed files with 5 additions and 5 deletions

View File

@@ -338,7 +338,7 @@ export default function CreateTask() {
maxSize={3 * 1024 ** 2}
accept={['image/png', 'image/jpeg', 'image/heic', 'application/pdf', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']}
onReject={(files) => {
return toast.error('File yang diizinkan: .png, .jpg, .heic, .pdf dengan ukuran maksimal 3 MB')
return toast.error('File yang diizinkan: .csv, .png, .jpg, .heic, .pdf, .doc, .docx, .xls, .xlsx dengan ukuran maksimal 3 MB')
}}
></Dropzone>