From 3f488796ebda4c222b5818b1bf418ebe52593510 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 3 Mar 2022 09:03:42 +0200 Subject: [PATCH] Fix lint --- app/components/Layout/SearchInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }} />