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