From 650ca6166548a6ea1554064c98a2927f0450942a Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Sun, 22 Nov 2020 01:01:33 -0500
Subject: extended clusters to support user groups. made clusters select
 contents on click.  made send to back/ bring to front apply to entire
 selection.

---
 src/client/views/ContextMenuItem.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/ContextMenuItem.tsx')

diff --git a/src/client/views/ContextMenuItem.tsx b/src/client/views/ContextMenuItem.tsx
index d3429cdfb..e63631161 100644
--- a/src/client/views/ContextMenuItem.tsx
+++ b/src/client/views/ContextMenuItem.tsx
@@ -46,7 +46,7 @@ export class ContextMenuItem extends React.Component<ContextMenuProps & { select
                 batch = UndoManager.StartBatch(`Context menu event: ${this.props.description}`);
             }
             await this.props.event({ x: e.clientX, y: e.clientY });
-            batch && batch.end();
+            batch?.end();
         }
     }
 
-- 
cgit v1.2.3-70-g09d2

