aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-28 05:46:06 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-28 05:46:06 +0800
commit81ec53a814596be6b4ae9dc351e999e8844780dd (patch)
treedf73bd30b00672aeaf6c68bef1e56839d2619316 /ui
parent5cfce8c45a10db8271682b282d4c41747e01943a (diff)
parent7628a83fd67fcc0f0dca798ea6c5d34eeefb744a (diff)
downloadtangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar.gz
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar.bz2
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar.lz
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar.xz
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.tar.zst
tangerine-wallet-browser-81ec53a814596be6b4ae9dc351e999e8844780dd.zip
Merge branch 'i1616-AddTokenAdding' of github.com:MetaMask/metamask-plugin into i1616-AddTokenAdding
Diffstat (limited to 'ui')
-rw-r--r--ui/app/add-token.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/add-token.js b/ui/app/add-token.js
index 025cfacb5..b303b5c0d 100644
--- a/ui/app/add-token.js
+++ b/ui/app/add-token.js
@@ -31,6 +31,7 @@ function AddTokenScreen () {
AddTokenScreen.prototype.render = function () {
const state = this.state
+ const props = this.props
const { warning, symbol, decimals } = state
return (
@@ -40,7 +41,7 @@ AddTokenScreen.prototype.render = function () {
h('.section-title.flex-row.flex-center', [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: (event) => {
- state.dispatch(actions.goHome())
+ props.dispatch(actions.goHome())
},
}),
h('h2.page-subtitle', 'Add Token'),