diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-05-03 17:18:46 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-05-03 17:18:46 +0300 |
| commit | 1a9086852aad17afba4574ad0c814bda4ea2f89d (patch) | |
| tree | 6f346be13733f8eb575bc531d60ed3b002c180e0 /src/components/upload/SourceInput.tsx | |
| parent | e619245f1fa83a29a9ec553ef9017871bb5c27c0 (diff) | |
minor upload update
Diffstat (limited to 'src/components/upload/SourceInput.tsx')
| -rw-r--r-- | src/components/upload/SourceInput.tsx | 3 |
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(); } |
