mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 12:13:10 -05:00
Fix lint
This commit is contained in:
parent
5b894b55e9
commit
3f488796eb
|
|
@ -62,7 +62,7 @@ export function DumbSearchInput({
|
|||
}: {
|
||||
value: string;
|
||||
setValue: (newValue: string) => void;
|
||||
handleEnter: () => void;
|
||||
handleEnter: () => Promise<void> | undefined;
|
||||
}) {
|
||||
return (
|
||||
<div className={"layout__search-input__container"}>
|
||||
|
|
@ -74,7 +74,7 @@ export function DumbSearchInput({
|
|||
onChange={(e) => setValue(e.target.value)}
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === "Enter") {
|
||||
handleEnter();
|
||||
void handleEnter();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user