mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
eslint: Fix @typescript-eslint/no-confusing-void-expression.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -155,7 +155,9 @@ export function set_up(): void {
|
||||
confirm_dialog.launch({
|
||||
html_heading: $t_html({defaultMessage: "Delete data export?"}),
|
||||
html_body,
|
||||
on_click: () => dialog_widget.submit_api_request(channel.del, url),
|
||||
on_click() {
|
||||
dialog_widget.submit_api_request(channel.del, url);
|
||||
},
|
||||
loading_spinner: true,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user