diff options
author | Dan J Miller <danjm.com@gmail.com> | 2019-03-06 22:49:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 22:49:21 +0800 |
commit | 7160cef4c70e3174b90e52695ef00ac67d834967 (patch) | |
tree | 5d3a6248c9dd7faaf02eccdc9bbb9c2bf0fcd48b | |
parent | df0c7be80857856bf0fa7f5dddb48ddd034f6944 (diff) | |
download | tangerine-wallet-browser-7160cef4c70e3174b90e52695ef00ac67d834967.tar.gz tangerine-wallet-browser-7160cef4c70e3174b90e52695ef00ac67d834967.tar.zst tangerine-wallet-browser-7160cef4c70e3174b90e52695ef00ac67d834967.zip |
Fix missing this reference in addtoken button onclick method (#6245)
-rw-r--r-- | ui/app/components/wallet-view.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index 65a532af6..db572e5cb 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -106,11 +106,12 @@ WalletView.prototype.renderAddToken = function () { hideSidebar, history, } = this.props + const { metricsEvent } = this.context return h(AddTokenButton, { onClick () { history.push(ADD_TOKEN_ROUTE) - this.context.metricsEvent({ + metricsEvent({ eventOpts: { category: 'Navigation', action: 'Token Menu', |