mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add eslint config to pass tests
This commit is contained in:
parent
061633bf67
commit
c1859a24ee
@ -123,6 +123,7 @@ function generateBalanceObject (formattedBalance, decimalsToKeep = 1) {
|
||||
var shortBalance = shortenBalance(balance, decimalsToKeep)
|
||||
|
||||
if (beforeDecimal === '0' && afterDecimal.substr(0, 5) === '00000') {
|
||||
// eslint-disable-next-line eqeqeq
|
||||
if (afterDecimal == 0) {
|
||||
balance = '0'
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user