edit search value

This commit is contained in:
madarsbiss
2021-08-03 11:13:44 +03:00
parent 5daa871518
commit cd2af9eb5b
2 changed files with 3 additions and 2 deletions

View File

@@ -157,6 +157,7 @@ export default function Home() {
<input
type="text"
className={styles.searchInput}
defaultValue="Search..."
onFocus={(e) => (e.target.value = "")}
onChange={(e) => setInput(e.target.value)}
onKeyDown={(e) => enterKeydown(e)}