aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-08-21 19:42:08 +0800
committerGitHub <noreply@github.com>2019-08-21 19:42:08 +0800
commite0e06709d3ea79db3830bf1e68667bc41b1fa732 (patch)
tree032ee6cf837f98d2e19b3afde24a03b8b703a254 /ui/app
parentcc71b4f52b861fda6620874dd8c9ae30c0c0ede9 (diff)
downloadtangerine-wallet-browser-e0e06709d3ea79db3830bf1e68667bc41b1fa732.tar.gz
tangerine-wallet-browser-e0e06709d3ea79db3830bf1e68667bc41b1fa732.tar.zst
tangerine-wallet-browser-e0e06709d3ea79db3830bf1e68667bc41b1fa732.zip
Fix indentation of div.request-signature__rows code (#7045)
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/app/signature-request.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/app/components/app/signature-request.js b/ui/app/components/app/signature-request.js
index 039485f88..16073d5d3 100644
--- a/ui/app/components/app/signature-request.js
+++ b/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),
+ ])
+ }),
),
])
}