Respect code style

feature/default_network_editable
Sergey Ukustov 7 years ago
parent c2b8dada91
commit 82d1f39198
  1. 3
      ui/app/components/typed-message-renderer.js
  2. 2
      ui/app/conf-tx.js

@ -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),
])
})
}

@ -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),
}),
])
)

Loading…
Cancel
Save