summaryrefslogtreecommitdiff
path: root/src/components/upload/SourceInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/upload/SourceInput.tsx')
-rw-r--r--src/components/upload/SourceInput.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/upload/SourceInput.tsx b/src/components/upload/SourceInput.tsx
index fbc8f52..c93c4b6 100644
--- a/src/components/upload/SourceInput.tsx
+++ b/src/components/upload/SourceInput.tsx
@@ -1,6 +1,5 @@
'use client';
import { Input } from '@/components/ui';
-import React from 'react';
export function SourceInput() {
return (
@@ -8,7 +7,7 @@ export function SourceInput() {
<span>ИСТОЧНИК</span>
<Input
name="source"
- onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) => {
+ onKeyDown={(e) => {
if (e.key === 'Enter') {
e.preventDefault();
}