diff --git a/src/files-ui/components/input-hidden/InputHidden.tsx b/src/files-ui/components/input-hidden/InputHidden.tsx index 5545cfe4ce1cee985edcbb60bea302e890b734bf..9725bcccc3681ab8cac2a30fd805fe8562a5a0ca 100644 --- a/src/files-ui/components/input-hidden/InputHidden.tsx +++ b/src/files-ui/components/input-hidden/InputHidden.tsx @@ -1,14 +1,14 @@ import * as React from "react"; -import { handleClickUtil } from "../../core"; +//import { handleClickUtil } from "../../core"; import { InputHiddenProps } from "./InputHiddenProps"; const InputHidden: React.FC<InputHiddenProps> = (props: InputHiddenProps) => { const { onChange, inputRef, accept, multiple } = props; - function handleClick<T extends HTMLInputElement>( + /* function handleClick<T extends HTMLInputElement>( evt: React.MouseEvent<T, MouseEvent> ): void { handleClickUtil(evt); - } + } */ return ( <React.Fragment> <input @@ -19,7 +19,7 @@ const InputHidden: React.FC<InputHiddenProps> = (props: InputHiddenProps) => { type="file" accept={accept} multiple={multiple} - onClick={handleClick} + //onClick={handleClick} /> </React.Fragment> );