Disable search (I accidentally went over my algolia index limit and they blocked searches)

This commit is contained in:
Jordan Eldredge 2022-10-07 21:30:33 -07:00
parent 1c49e29030
commit d9769e356f

View file

@ -62,6 +62,8 @@ function Header() {
const requestedAboutPage = useActionCreator(Actions.requestedAboutPage);
const setInput = useFocusOnSlash();
const enableSearch = false;
return (
<div id="search">
<h1>
@ -109,14 +111,16 @@ function Header() {
-
</button>
*/}
<input
type="search"
style={{ marginLeft: 10 }}
onChange={(e) => setSearchQuery(e.target.value)}
value={searchQuery || ""}
placeholder={"Search..."}
ref={setInput}
/>
{enableSearch && (
<input
type="search"
style={{ marginLeft: 10 }}
onChange={(e) => setSearchQuery(e.target.value)}
value={searchQuery || ""}
placeholder={"Search..."}
ref={setInput}
/>
)}
<button
onClick={() => {
requestRandomSkin();