From 2242e32613a14db1e8be81858bd65f4c18233d8b Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
Date: Sun, 3 May 2026 20:01:28 +0300
Subject: minor tags input & source changes

---
 src/components/upload/SourceInput.tsx | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

(limited to 'src/components/upload/SourceInput.tsx')

diff --git a/src/components/upload/SourceInput.tsx b/src/components/upload/SourceInput.tsx
index c93c4b6..a80092a 100644
--- a/src/components/upload/SourceInput.tsx
+++ b/src/components/upload/SourceInput.tsx
@@ -1,17 +1,21 @@
 'use client';
 import { Input } from '@/components/ui';
+import React from 'react';
 
 export function SourceInput() {
+    const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
+        if (e.key === 'Enter') {
+            e.preventDefault();
+        }
+    };
+
     return (
         <div className="flex flex-col gap-2.5 w-full">
             <span>ИСТОЧНИК</span>
             <Input
+                placeholder="Введите источник"
                 name="source"
-                onKeyDown={(e) => {
-                    if (e.key === 'Enter') {
-                        e.preventDefault();
-                    }
-                }}
+                onKeyDown={handleKeyDown}
                 className="w-full h-10 py-2.5 px-5 border rounded-4xl"
                 type="text"
             />
-- 
cgit v1.3-3-g829e

