mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +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
@@ -40,7 +40,7 @@ export function open_user_status_modal() {
|
||||
id: "set_user_status_modal",
|
||||
on_click: submit_new_status,
|
||||
post_render: user_status_post_render,
|
||||
on_shown: () => {
|
||||
on_shown() {
|
||||
input_field().trigger("focus");
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user