diff --git a/src/search_controller.ts b/src/search_controller.ts index f9ddc5f94..9d3b53570 100644 --- a/src/search_controller.ts +++ b/src/search_controller.ts @@ -359,7 +359,6 @@ export type SearchControllerState< // FIXME: focusedMessage should live in a MessageListController class that does not exist yet. // This state prop should be then removed focusedMessage?: MessageResponse; - input?: HTMLInputElement; }; export type SearchControllerConfig = { @@ -410,10 +409,6 @@ export class SearchController< return this.sources.map((s) => s.type); } - setInputElement = (input: HTMLInputElement) => { - this.state.partialNext({ input }); - }; - addSource = (source: SearchSource) => { this.state.partialNext({ sources: [...this.sources, source],