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();
|
e.stopPropagation();
|
||||||
// Refresh the typeahead menu to account for any changes in the
|
// Refresh the typeahead menu to account for any changes in the
|
||||||
// input position by asking popper to recompute your tooltip's position.
|
// input position by asking popper to recompute your tooltip's position.
|
||||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
void this.instance?.popperInstance?.update();
|
||||||
this.instance?.popperInstance?.update();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue