mirror of https://github.com/zulip/zulip.git
bootstrap_typeahead: Address @typescript-eslint/no-floating-promises.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e7f5e526bc
commit
18b8d0f1b2
|
@ -845,8 +845,7 @@ export class Typeahead<ItemType extends string | object> {
|
|||
e.stopPropagation();
|
||||
// Refresh the typeahead menu to account for any changes in the
|
||||
// input position by asking popper to recompute your tooltip's position.
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
this.instance?.popperInstance?.update();
|
||||
void this.instance?.popperInstance?.update();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue