diff options
author | Dan <danjm.com@gmail.com> | 2018-05-05 23:11:53 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-05-05 23:58:14 +0800 |
commit | 7c490098548522c16be1b1e84bce37f5bf87f1f4 (patch) | |
tree | 207cabcc9c8a07c411ae293894895f32905986be /ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js | |
parent | e869d09c79b0ba276cb6a82da1f01b2d4bfefce7 (diff) | |
download | tangerine-wallet-browser-7c490098548522c16be1b1e84bce37f5bf87f1f4.tar.gz tangerine-wallet-browser-7c490098548522c16be1b1e84bce37f5bf87f1f4.tar.zst tangerine-wallet-browser-7c490098548522c16be1b1e84bce37f5bf87f1f4.zip |
Unit tests for containers, utils and selectors in send_/
Diffstat (limited to 'ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js')
-rw-r--r-- | ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js b/ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js deleted file mode 100644 index 0aaaef793..000000000 --- a/ui/app/components/send_/send-content/send-from-row/send-from-row.utils.js +++ /dev/null @@ -1,12 +0,0 @@ -const { - calcTokenAmount, -} = require('../../../../token-util') - -function calcTokenUpdateAmount (usersToken, selectedToken) { - const { decimals } = selectedToken || {} - return calcTokenAmount(usersToken.balance.toString(), decimals) -} - -module.exports = { - calcTokenUpdateAmount, -} |