eslint: Fix unicorn/consistent-destructuring.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-01-22 17:44:02 -08:00
committed by Tim Abbott
parent 6cd694b8e3
commit 2e501c8667
2 changed files with 2 additions and 2 deletions

View File

@@ -314,7 +314,7 @@ class CommonUtils {
async send_message(page, type, params) {
// If a message is outside the view, we do not need
// to wait for it to be processed later.
const {outside_view} = params;
const outside_view = params.outside_view;
delete params.outside_view;
// Compose box content should be empty before sending the message.