diff --git a/web/app/components/datasets/create/file-uploader/index.tsx b/web/app/components/datasets/create/file-uploader/index.tsx index ee9860322..a8b9f5e9c 100644 --- a/web/app/components/datasets/create/file-uploader/index.tsx +++ b/web/app/components/datasets/create/file-uploader/index.tsx @@ -77,7 +77,7 @@ const FileUploader = ({ notify({ type: 'error', message: t('datasetCreation.stepOne.uploader.validation.size', { size: fileUploadConfig.file_size_limit }) }) return isValidType && isValidSize - }, [fileUploadConfig, notify, t]) + }, [fileUploadConfig, notify, t, ACCEPTS]) const fileUpload = useCallback(async (fileItem: FileItem): Promise => { const formData = new FormData()