mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
eslint: Enable object-shorthand avoidExplicitReturnArrows option.
This is equivalent in the absence of ‘this’ (which ESLint knows to check for). Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
88873138ac
commit
eb2c822d3f
@@ -372,7 +372,7 @@ export function set_up_handlers() {
|
||||
confirm_dialog.launch({
|
||||
html_heading: $t_html({defaultMessage: "Large number of subscribers"}),
|
||||
html_body,
|
||||
on_click: () => {
|
||||
on_click() {
|
||||
create_stream();
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user