diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-07-08 03:39:07 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-07-08 03:39:07 +0800 |
commit | cd8ae4b5ff5405e4129df897559cc35066492ea7 (patch) | |
tree | eb06881f49eafa8fe04dc718bd9759f68532664d /ui/app/components/eth-balance.js | |
parent | 0a6560bd5dcadd9dbdb96546b9273be0bb063916 (diff) | |
download | tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.gz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.bz2 tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.lz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.xz tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.tar.zst tangerine-wallet-browser-cd8ae4b5ff5405e4129df897559cc35066492ea7.zip |
Change function name to generateBalanceObject
Diffstat (limited to 'ui/app/components/eth-balance.js')
-rw-r--r-- | ui/app/components/eth-balance.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/eth-balance.js b/ui/app/components/eth-balance.js index e68c7b4db..e31b3ed97 100644 --- a/ui/app/components/eth-balance.js +++ b/ui/app/components/eth-balance.js @@ -2,7 +2,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits const formatBalance = require('../util').formatBalance -const mainBalanceObject = require('../util').mainBalanceObject +const generateBalanceObject = require('../util').generateBalanceObject const Tooltip = require('./tooltip.js') module.exports = EthBalanceComponent @@ -31,7 +31,7 @@ EthBalanceComponent.prototype.render = function () { } EthBalanceComponent.prototype.renderBalance = function (value) { if (value === 'None') return value - var balanceObj = mainBalanceObject(value) + var balanceObj = generateBalanceObject(value) var balance = balanceObj.balance var label = balanceObj.label |