Skip to content

Commit c2c285a

Browse files
committed
File: remove onClick from destructuring
1 parent 39d9b4a commit c2c285a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/File/File.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export const File: React.FC<FileProps> = ({
2929
style,
3030
getRef,
3131
getRootRef,
32-
onClick,
3332
appearance,
3433
...restProps
3534
}) => {
@@ -53,7 +52,6 @@ export const File: React.FC<FileProps> = ({
5352
>
5453
<VisuallyHiddenInput
5554
{...restProps}
56-
onClick={(e) => onClick?.(e)}
5755
vkuiClass="File__input"
5856
type="file"
5957
getRef={getRef}

0 commit comments

Comments
 (0)