style: format static/search/overlay.ts
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
import { openSearch, clearSearchInput } from "./actions";
|
||||||
|
import { scheduleFetch, fetchSearchItems, onResultsScroll } from "./fetch";
|
||||||
|
import { selectItem, runSelectedItem, renderEmptyState } from "./render";
|
||||||
import {
|
import {
|
||||||
searchInitializedKey,
|
searchInitializedKey,
|
||||||
globalWindow,
|
globalWindow,
|
||||||
@@ -9,9 +12,6 @@ import {
|
|||||||
getSelectedIndex,
|
getSelectedIndex,
|
||||||
isTypingTarget,
|
isTypingTarget,
|
||||||
} from "./state";
|
} from "./state";
|
||||||
import { selectItem, runSelectedItem, renderEmptyState } from "./render";
|
|
||||||
import { scheduleFetch, fetchSearchItems, onResultsScroll } from "./fetch";
|
|
||||||
import { openSearch, clearSearchInput } from "./actions";
|
|
||||||
|
|
||||||
const onInputKeydown = (event: KeyboardEvent): void => {
|
const onInputKeydown = (event: KeyboardEvent): void => {
|
||||||
if (event.key === "ArrowDown") {
|
if (event.key === "ArrowDown") {
|
||||||
|
|||||||
Reference in New Issue
Block a user