1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Remove unused None string.

This commit is contained in:
Kevin Serrano 2016-07-18 11:47:27 -07:00
parent 41aad32b19
commit 2fc2731479

View File

@ -96,7 +96,7 @@ function formatBalance (balance, decimalsToKeep) {
var parsed = parseBalance(balance)
var beforeDecimal = parsed[0]
var afterDecimal = parsed[1]
var formatted = 'None'
var formatted
if (decimalsToKeep === undefined) {
if (beforeDecimal === '0') {
if (afterDecimal !== '0') {