aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/helpers/with-token-tracker.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/helpers/with-token-tracker.js')
-rw-r--r--ui/app/helpers/with-token-tracker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/helpers/with-token-tracker.js b/ui/app/helpers/with-token-tracker.js
index e24517c18..8608b15f4 100644
--- a/ui/app/helpers/with-token-tracker.js
+++ b/ui/app/helpers/with-token-tracker.js
@@ -75,6 +75,9 @@ const withTokenTracker = WrappedComponent => {
}
updateBalance (tokens = []) {
+ if (!this.tracker.running) {
+ return
+ }
const [{ string, symbol }] = tokens
this.setState({ string, symbol, error: null })
}