diff --git a/src/app/HomePage.js b/src/app/HomePage.js index c687068..ea2b14e 100644 --- a/src/app/HomePage.js +++ b/src/app/HomePage.js @@ -12,7 +12,7 @@ import { InputGroup, InputLeftElement, InputRightElement, - Link, + Link as ChakraLink, ListItem, Skeleton, Textarea, @@ -24,7 +24,7 @@ import { VStack, } from "@chakra-ui/react"; import { ArrowForwardIcon, SearchIcon } from "@chakra-ui/icons"; -import { useHistory, useLocation } from "react-router-dom"; +import { Link, useHistory, useLocation } from "react-router-dom"; import { useLazyQuery, useQuery } from "@apollo/client"; import { @@ -333,15 +333,18 @@ function ItemsSearchField() { return (
{ + onSubmit={(e) => { + e.preventDefault(); if (query) { history.push(`/items/search/${encodeURIComponent(query)}`); } }} > - - + + + + Better item list pages Outfit saving! Try it out!! - See more on Twitter! - +