From e17737982ea2ce84b4bded798ee7bdf730a75715 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Tue, 30 Apr 2024 00:00:16 -0400
Subject: from last

---
 .../views/animationtimeline/TimelineMenu.tsx       | 24 ++++++++++------------
 1 file changed, 11 insertions(+), 13 deletions(-)

(limited to 'src/client/views/animationtimeline/TimelineMenu.tsx')

diff --git a/src/client/views/animationtimeline/TimelineMenu.tsx b/src/client/views/animationtimeline/TimelineMenu.tsx
index 20da21cb9..0d7873931 100644
--- a/src/client/views/animationtimeline/TimelineMenu.tsx
+++ b/src/client/views/animationtimeline/TimelineMenu.tsx
@@ -1,3 +1,4 @@
+/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
 /* eslint-disable jsx-a11y/click-events-have-key-events */
 import { IconLookup } from '@fortawesome/fontawesome-svg-core';
 import { faChartLine, faClipboard } from '@fortawesome/free-solid-svg-icons';
@@ -69,19 +70,16 @@ export class TimelineMenu extends React.Component {
             this._currentMenu.push(
                 <div key={Utils.GenerateGuid()} className="timeline-menu-item">
                     <FontAwesomeIcon icon={faChartLine as IconLookup} size="lg" />
-                    {
-                        // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
-                        <p
-                            className="timeline-menu-desc"
-                            onClick={e => {
-                                e.preventDefault();
-                                e.stopPropagation();
-                                event(e);
-                                this.closeMenu();
-                            }}>
-                            {title}
-                        </p>
-                    }
+                    <p
+                        className="timeline-menu-desc"
+                        onClick={e => {
+                            e.preventDefault();
+                            e.stopPropagation();
+                            event(e);
+                            this.closeMenu();
+                        }}>
+                        {title}
+                    </p>
                 </div>
             );
         }
-- 
cgit v1.2.3-70-g09d2

