diff --git a/packages/web-react/src/components/FileUploader/FileUploaderInput.tsx b/packages/web-react/src/components/FileUploader/FileUploaderInput.tsx index d704a3eb0a..26dc469941 100644 --- a/packages/web-react/src/components/FileUploader/FileUploaderInput.tsx +++ b/packages/web-react/src/components/FileUploader/FileUploaderInput.tsx @@ -2,7 +2,7 @@ import classNames from 'classnames'; import React, { useEffect, useState } from 'react'; -import { useDeprecationMessage, useStyleProps } from '../../hooks'; +import { useStyleProps } from '../../hooks'; import { SpiritFileUploaderInputProps } from '../../types'; import { HelperText, ValidationText, useAriaIds } from '../Field'; import { Icon } from '../Icon'; @@ -70,13 +70,6 @@ const FileUploaderInput = (props: SpiritFileUploaderInputProps) => { setIsDragAndDropSupported('draggable' in document.createElement('span')); }, []); - useDeprecationMessage({ - method: 'custom', - trigger: !id, - componentName: 'FileUploader', - customText: 'The "id" property will be required instead of optional starting from the next major version.', - }); - return (