1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove formatBalance.formatted references

This commit is contained in:
Dan Finlay 2016-07-07 11:39:24 -07:00
parent a02f43fb7f
commit 21f17214be

View File

@ -51,7 +51,7 @@ PTXP.render = function () {
attrs: [ attrs: [
identity.name, identity.name,
addressSummary(address, 6, 4, false), addressSummary(address, 6, 4, false),
formatBalance(balance).formatted, formatBalance(balance),
], ],
imageSeed: address, imageSeed: address,
imageifyIdenticons: props.imageifyIdenticons, imageifyIdenticons: props.imageifyIdenticons,
@ -88,12 +88,12 @@ PTXP.render = function () {
h('.row', [ h('.row', [
h('.cell.label', 'Amount'), h('.cell.label', 'Amount'),
h('.cell.value', formatBalance(txParams.value).formatted), h('.cell.value', formatBalance(txParams.value)),
]), ]),
h('.cell.row', [ h('.cell.row', [
h('.cell.label', 'Max Transaction Fee'), h('.cell.label', 'Max Transaction Fee'),
h('.cell.value', formatBalance(gasCost).formatted), h('.cell.value', formatBalance(gasCost)),
]), ]),
h('.cell.row', { h('.cell.row', {
@ -103,7 +103,7 @@ PTXP.render = function () {
}, },
}, [ }, [
h('.cell.label', 'Max Total'), h('.cell.label', 'Max Total'),
h('.cell.value', formatBalance(maxCost).formatted), h('.cell.value', formatBalance(maxCost)),
]), ]),
h('.cell.row', { h('.cell.row', {