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, 2 insertions, 1 deletions
diff --git a/src/components/upload/SourceInput.tsx b/src/components/upload/SourceInput.tsx
index c93c4b6..fbc8f52 100644
--- a/src/components/upload/SourceInput.tsx
+++ b/src/components/upload/SourceInput.tsx
@@ -1,5 +1,6 @@
'use client';
import { Input } from '@/components/ui';
+import React from 'react';
export function SourceInput() {
return (
@@ -7,7 +8,7 @@ export function SourceInput() {
<span>ИСТОЧНИК</span>
<Input
name="source"
- onKeyDown={(e) => {
+ onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) => {
if (e.key === 'Enter') {
e.preventDefault();
}