1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'i1616-AddTokenAdding' of github.com:MetaMask/metamask-plugin into i1616-AddTokenAdding

This commit is contained in:
Dan Finlay 2017-06-27 14:46:06 -07:00
commit 81ec53a814

View File

@ -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'),