summaryrefslogtreecommitdiff
path: root/components/ship-vendor-document/add-attachment-dialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/ship-vendor-document/add-attachment-dialog.tsx')
-rw-r--r--components/ship-vendor-document/add-attachment-dialog.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/ship-vendor-document/add-attachment-dialog.tsx b/components/ship-vendor-document/add-attachment-dialog.tsx
index 61a078f7..1e9bfb51 100644
--- a/components/ship-vendor-document/add-attachment-dialog.tsx
+++ b/components/ship-vendor-document/add-attachment-dialog.tsx
@@ -75,10 +75,10 @@ const attachmentUploadSchema = z.object({
(files) => files.every((file) => file.size <= MAX_FILE_SIZE),
"File size must be 50MB or less"
)
- .refine(
- (files) => files.every((file) => ACCEPTED_FILE_TYPES.includes(file.type)),
- "Unsupported file format"
- ),
+ // .refine(
+ // (files) => files.every((file) => ACCEPTED_FILE_TYPES.includes(file.type)),
+ // "Unsupported file format"
+ // ),
})
interface AddAttachmentDialogProps {