xo: Fix object-shorthand.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-03-08 18:10:03 -08:00
parent 5623ab3866
commit fba8aa0ab0
5 changed files with 25 additions and 25 deletions

View File

@@ -35,7 +35,7 @@ export function newNotification(
}
return {
close: () => {
close() {
notification.close();
},
title: notification.title,