aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/topbar
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-06-24 10:22:30 -0400
committerbobzel <zzzman@gmail.com>2023-06-24 10:22:30 -0400
commit3139bf1474b714a099b2c13de4a78b7c4ded38df (patch)
treeb777dba0e41ef5276ce813bf2f66464b8877c84d /src/client/views/topbar
parent234443960605c84b823231e584ec075c36be488c (diff)
ping cleanup
Diffstat (limited to 'src/client/views/topbar')
-rw-r--r--src/client/views/topbar/TopBar.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx
index 68d652cc4..157d7c04a 100644
--- a/src/client/views/topbar/TopBar.tsx
+++ b/src/client/views/topbar/TopBar.tsx
@@ -38,10 +38,10 @@ export class TopBar extends React.Component {
@observable textColor: string = Colors.LIGHT_GRAY;
@observable backgroundColor: string = Colors.DARK_GRAY;
- @observable happyHeart: boolean = PingManager.Instance.isBeating;
+ @observable happyHeart: boolean = PingManager.Instance.IsBeating;
setHappyHeart = action((status: boolean) => (this.happyHeart = status));
dispose = reaction(
- () => PingManager.Instance.isBeating,
+ () => PingManager.Instance.IsBeating,
isBeating => this.setHappyHeart(isBeating)
);