1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

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

This commit is contained in:
Whymarrh Whitby 2019-08-21 09:12:08 -02:30 committed by GitHub
parent cc71b4f52b
commit e0e06709d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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