Fix indentation of div.request-signature__rows code (#7045)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent cc71b4f52b
commit e0e06709d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      ui/app/components/app/signature-request.js

@ -269,16 +269,16 @@ SignatureRequest.prototype.renderBody = function () {
h('div.request-signature__rows',
type === 'eth_signTypedData' && (version === 'V3' || version === 'V4') ?
this.renderTypedData(data) :
rows.map(({ name, value }) => {
if (typeof value === 'boolean') {
value = value.toString()
}
return h('div.request-signature__row', [
h('div.request-signature__row-title', [`${name}:`]),
h('div.request-signature__row-value', value),
])
}),
this.renderTypedData(data) :
rows.map(({ name, value }) => {
if (typeof value === 'boolean') {
value = value.toString()
}
return h('div.request-signature__row', [
h('div.request-signature__row-title', [`${name}:`]),
h('div.request-signature__row-value', value),
])
}),
),
])
}

Loading…
Cancel
Save