mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Respect code style
This commit is contained in:
parent
c2b8dada91
commit
82d1f39198
@ -1,7 +1,6 @@
|
|||||||
const Component = require('react').Component
|
const Component = require('react').Component
|
||||||
const h = require('react-hyperscript')
|
const h = require('react-hyperscript')
|
||||||
const inherits = require('util').inherits
|
const inherits = require('util').inherits
|
||||||
const ethUtil = require('ethereumjs-util')
|
|
||||||
const extend = require('xtend')
|
const extend = require('xtend')
|
||||||
|
|
||||||
module.exports = TypedMessageRenderer
|
module.exports = TypedMessageRenderer
|
||||||
@ -36,7 +35,7 @@ function renderTypedData(values) {
|
|||||||
return values.map(function (value) {
|
return values.map(function (value) {
|
||||||
return h('div', {}, [
|
return h('div', {}, [
|
||||||
h('strong', {style: {display: 'block', fontWeight: 'bold', textTransform: 'capitalize'}}, String(value.name) + ':'),
|
h('strong', {style: {display: 'block', fontWeight: 'bold', textTransform: 'capitalize'}}, String(value.name) + ':'),
|
||||||
h('div', {}, value.value)
|
h('div', {}, value.value),
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
}
|
}
|
@ -117,7 +117,7 @@ ConfirmTxScreen.prototype.render = function () {
|
|||||||
signTypedMessage: this.signTypedMessage.bind(this, txData),
|
signTypedMessage: this.signTypedMessage.bind(this, txData),
|
||||||
cancelMessage: this.cancelMessage.bind(this, txData),
|
cancelMessage: this.cancelMessage.bind(this, txData),
|
||||||
cancelPersonalMessage: this.cancelPersonalMessage.bind(this, txData),
|
cancelPersonalMessage: this.cancelPersonalMessage.bind(this, txData),
|
||||||
cancelTypedMessage: this.cancelTypedMessage.bind(this, txData)
|
cancelTypedMessage: this.cancelTypedMessage.bind(this, txData),
|
||||||
}),
|
}),
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user