aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/topbar
diff options
context:
space:
mode:
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)
);