From 6f278fdf5882bd7c936d64f4da8bf75c34196311 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 11 Jan 2024 13:18:29 -0500
Subject: fixed obervable values not updateing because of component functions
 being defined as vairables

---
 src/client/views/nodes/RadialMenuItem.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/client/views/nodes/RadialMenuItem.tsx')

diff --git a/src/client/views/nodes/RadialMenuItem.tsx b/src/client/views/nodes/RadialMenuItem.tsx
index 10a90befd..91dc37d34 100644
--- a/src/client/views/nodes/RadialMenuItem.tsx
+++ b/src/client/views/nodes/RadialMenuItem.tsx
@@ -17,13 +17,13 @@ export interface RadialMenuProps {
 
 @observer
 export class RadialMenuItem extends React.Component<RadialMenuProps> {
-    componentDidMount = () => {
+    componentDidMount() {
         this.setcircle();
-    };
+    }
 
-    componentDidUpdate = () => {
+    componentDidUpdate() {
         this.setcircle();
-    };
+    }
 
     handleEvent = async (e: React.PointerEvent) => {
         this.props.closeMenu && this.props.closeMenu();
-- 
cgit v1.2.3-70-g09d2

