mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fix indentation of div.request-signature__rows code (#7045)
This commit is contained in:
parent
cc71b4f52b
commit
e0e06709d3
@ -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…
Reference in New Issue
Block a user