Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
MetinVn committed May 1, 2024
1 parent 38d6d96 commit 86b3aa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ function App() {
//**************************************************************************************
const handleTranslate = (e) => {
e.preventDefault();
setTranslate("");
setError(false);
if (input.current.value.length === 0) {
setError(true);
} else {
Expand Down
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.form-select{
border: none;
border-radius:3px;
appearance: none;
padding: 0 30px 0 15px;
width: 142px;
Expand Down

0 comments on commit 86b3aa5

Please sign in to comment.