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

Restore broken variable reference

This commit is contained in:
Dan Finlay 2016-09-08 11:03:47 -07:00
parent c42b37a6e7
commit ab3b409438

View File

@ -27,6 +27,7 @@ FiatValue.prototype.render = function () {
var splitBalance = value.split(' ')
if (props.conversionRate !== 0) {
fiatTooltipNumber = Number(splitBalance[0]) * props.conversionRate
fiatDisplayNumber = fiatTooltipNumber.toFixed(2)
} else {
fiatDisplayNumber = 'N/A'