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/animationtimeline/TimelineOverview.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/client/views/animationtimeline/TimelineOverview.tsx b/src/client/views/animationtimeline/TimelineOverview.tsx
index 928739b53..489c4dcde 100644
--- a/src/client/views/animationtimeline/TimelineOverview.tsx
+++ b/src/client/views/animationtimeline/TimelineOverview.tsx
@@ -35,7 +35,7 @@ export class TimelineOverview extends React.Component<TimelineOverviewProps> {
     private readonly DEFAULT_HEIGHT = 50;
     private readonly DEFAULT_WIDTH = 300;
 
-    componentDidMount = () => {
+    componentDidMount() {
         this.setOverviewWidth();
 
         this._authoringReaction = reaction(
@@ -48,7 +48,7 @@ export class TimelineOverview extends React.Component<TimelineOverviewProps> {
                 }
             }
         );
-    };
+    }
 
     componentWillUnmount = () => {
         this._authoringReaction && this._authoringReaction();
-- 
cgit v1.2.3-70-g09d2

