From c538f145b10bab0d1feb74700bb052c22216c0bc Mon Sep 17 00:00:00 2001 From: ronreg-ribdev <56719257+ronreg-ribdev@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:28:07 -0700 Subject: [PATCH] Fix some bugs --- src/js/components/root.js | 4 ++-- src/js/subscription.js | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/js/components/root.js b/src/js/components/root.js index f8efe3f..80fb691 100644 --- a/src/js/components/root.js +++ b/src/js/components/root.js @@ -193,7 +193,7 @@ class RouteSearch extends Component { @@ -201,7 +201,7 @@ class RouteSearch extends Component { diff --git a/src/js/subscription.js b/src/js/subscription.js index f8c9cf5..397e4e5 100644 --- a/src/js/subscription.js +++ b/src/js/subscription.js @@ -14,12 +14,6 @@ export class Subscription { } initializebartinfo() { - /* - api.bind('/primary', 'PUT', api.authTokens.ship, 'bartinfo', - this.handleEvent.bind(this), - this.handleError.bind(this)); - */ - api.bind("/routes", "PUT", api.authTokens.ship, "bartinfo", this.handleEvent.bind(this), this.handleError.bind(this));