diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:36:51 +0300 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-04-02 08:36:51 +0300 |
| commit | 1d20080db8a26e4b7dd4071daac1166142592afa (patch) | |
| tree | b4c1bbb3725f00515b4d9a3d1cd18584cba36c81 /src/components/upload/SourceInput.tsx | |
| parent | 37f51ee88710868a77b4645294cf32862f55e7c4 (diff) | |
minor improvements
Diffstat (limited to 'src/components/upload/SourceInput.tsx')
| -rw-r--r-- | src/components/upload/SourceInput.tsx | 3 |
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(); } |
