Skip to content

Commit

Permalink
chore(Upload): improve typing of id property
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Dec 13, 2024
1 parent f0f11a0 commit dbc42d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function UploadDropzone({
className,
...rest
}: Partial<UploadAllProps>) {
const props = rest as Omit<UploadProps, 'title' | 'onChange'>
const props = rest as Omit<UploadProps, 'title' | 'onChange' | 'id'>
const context = useContext(UploadContext)
const [hover, setHover] = useState(false)
const hoverTimeout = useRef<NodeJS.Timer>()
Expand Down

0 comments on commit dbc42d9

Please sign in to comment.