1
0
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:
Sergey Ukustov 2017-09-29 19:47:40 +03:00
parent c2b8dada91
commit 82d1f39198
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const ethUtil = require('ethereumjs-util')
const extend = require('xtend')
module.exports = TypedMessageRenderer
@ -36,7 +35,7 @@ function renderTypedData(values) {
return values.map(function (value) {
return h('div', {}, [
h('strong', {style: {display: 'block', fontWeight: 'bold', textTransform: 'capitalize'}}, String(value.name) + ':'),
h('div', {}, value.value)
h('div', {}, value.value),
])
})
}

View File

@ -117,7 +117,7 @@ ConfirmTxScreen.prototype.render = function () {
signTypedMessage: this.signTypedMessage.bind(this, txData),
cancelMessage: this.cancelMessage.bind(this, txData),
cancelPersonalMessage: this.cancelPersonalMessage.bind(this, txData),
cancelTypedMessage: this.cancelTypedMessage.bind(this, txData)
cancelTypedMessage: this.cancelTypedMessage.bind(this, txData),
}),
])
)