From 86b3aa5cfed94e1d9a139d7c77a920b1f5309610 Mon Sep 17 00:00:00 2001 From: Metin Date: Wed, 1 May 2024 09:05:59 +0300 Subject: [PATCH] minor change --- src/App.jsx | 2 ++ src/index.css | 1 + 2 files changed, 3 insertions(+) diff --git a/src/App.jsx b/src/App.jsx index 88e91ab..65dd0a2 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -46,6 +46,8 @@ function App() { //************************************************************************************** const handleTranslate = (e) => { e.preventDefault(); + setTranslate(""); + setError(false); if (input.current.value.length === 0) { setError(true); } else { diff --git a/src/index.css b/src/index.css index 0cd045d..dfc6f4e 100644 --- a/src/index.css +++ b/src/index.css @@ -4,6 +4,7 @@ .form-select{ border: none; + border-radius:3px; appearance: none; padding: 0 30px 0 15px; width: 142px;