mirror of https://github.com/zulip/zulip.git
i18n: Fix @typescript-eslint/unbound-method.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
abee9258c6
commit
f8c2e7c7b0
|
@ -25,7 +25,7 @@ export const intl = createIntl(
|
|||
cache,
|
||||
);
|
||||
|
||||
export const $t = intl.formatMessage;
|
||||
export const $t = intl.formatMessage.bind(intl);
|
||||
|
||||
export const default_html_elements = Object.fromEntries(
|
||||
["b", "code", "em", "i", "kbd", "p", "strong"].map((tag) => [
|
||||
|
|
Loading…
Reference in New Issue