fix home search bar, update board description

This commit is contained in:
plebeius.eth
2023-08-23 16:29:46 +02:00
parent 1747684298
commit ca794d6107
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ const Home = () => {
(event) => {
if (event.key === "Enter") {
event.preventDefault();
const address = inputRef.current.value.toLowerCase();;
const address = inputRef.current.value;
if (address) {
setSelectedAddress(address);
navigate(`/p/${address}`)
@@ -94,7 +94,7 @@ const Home = () => {
}} />
<input type="submit" value="Search" onClick={
() => {
const address = inputRef.current.value.toLowerCase();;
const address = inputRef.current.value;
if (address) {
setSelectedAddress(address);
navigate(`/p/${address}`)