diff --git a/website/src/components/searchInput/searchInput.tsx b/website/src/components/searchInput/searchInput.tsx index b832c9b..2eb2938 100644 --- a/website/src/components/searchInput/searchInput.tsx +++ b/website/src/components/searchInput/searchInput.tsx @@ -80,11 +80,11 @@ export function SearchInput(props: SearchInputProps) { onInputChange={(e, value, reason) => { if (reason === "reset") { console.log({ value, reason }); - if (value) { - router.push(`/f/${value.split(".").join("/")}`); - } else { - handleSubmit(value); - } + handleSubmit(value); + // if (value) { + // router.push(`/f/${value.split(".").join("/")}`); + // } else { + // } } }} options={data.map((e) => e.meta.title)}