diff --git a/app/components/Layout/SearchInput.tsx b/app/components/Layout/SearchInput.tsx index 48589ef0a..4acb25337 100644 --- a/app/components/Layout/SearchInput.tsx +++ b/app/components/Layout/SearchInput.tsx @@ -62,7 +62,7 @@ export function DumbSearchInput({ }: { value: string; setValue: (newValue: string) => void; - handleEnter: () => void; + handleEnter: () => Promise | undefined; }) { return (
@@ -74,7 +74,7 @@ export function DumbSearchInput({ onChange={(e) => setValue(e.target.value)} onKeyDown={(event) => { if (event.key === "Enter") { - handleEnter(); + void handleEnter(); } }} />