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:
commit
81ec53a814
@ -31,6 +31,7 @@ function AddTokenScreen () {
|
|||||||
|
|
||||||
AddTokenScreen.prototype.render = function () {
|
AddTokenScreen.prototype.render = function () {
|
||||||
const state = this.state
|
const state = this.state
|
||||||
|
const props = this.props
|
||||||
const { warning, symbol, decimals } = state
|
const { warning, symbol, decimals } = state
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -40,7 +41,7 @@ AddTokenScreen.prototype.render = function () {
|
|||||||
h('.section-title.flex-row.flex-center', [
|
h('.section-title.flex-row.flex-center', [
|
||||||
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
||||||
onClick: (event) => {
|
onClick: (event) => {
|
||||||
state.dispatch(actions.goHome())
|
props.dispatch(actions.goHome())
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
h('h2.page-subtitle', 'Add Token'),
|
h('h2.page-subtitle', 'Add Token'),
|
||||||
|
Loading…
Reference in New Issue
Block a user