From 1d20080db8a26e4b7dd4071daac1166142592afa Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 2 Apr 2026 08:36:51 +0300 Subject: minor improvements --- src/components/upload/SourceInput.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/upload/SourceInput.tsx') 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() { ИСТОЧНИК { + onKeyDown={(e: React.KeyboardEvent) => { if (e.key === 'Enter') { e.preventDefault(); } -- cgit v1.3-3-g829e