diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-06-27 02:47:08 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-06-27 02:47:08 +0800 |
commit | 7628a83fd67fcc0f0dca798ea6c5d34eeefb744a (patch) | |
tree | 9b7320a9556ac8fe19fbc5c7a22161c2d29b09f3 /ui/app | |
parent | 06706f6e1bc721ce8186d694f75b520c1e13124b (diff) | |
download | tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar.gz tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar.bz2 tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar.lz tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar.xz tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.tar.zst tangerine-wallet-browser-7628a83fd67fcc0f0dca798ea6c5d34eeefb744a.zip |
Fix Back Button on Add Token View
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/add-token.js | 3 |
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'), |