aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conversion-util.js
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-11-10 06:23:10 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-11-11 06:07:27 +0800
commit5120cfdff3047e4bf88cec544895cc713d063cdd (patch)
tree883e918b64c2b7ace6b968dd5499794c404f5c40 /ui/app/conversion-util.js
parent62f2aebe1d9c3efd6ace8785fc96bb43ae08afe8 (diff)
downloadtangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar.gz
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar.bz2
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar.lz
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar.xz
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.tar.zst
tangerine-wallet-browser-5120cfdff3047e4bf88cec544895cc713d063cdd.zip
Linting
Diffstat (limited to 'ui/app/conversion-util.js')
-rw-r--r--ui/app/conversion-util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/conversion-util.js b/ui/app/conversion-util.js
index ee2950071..de37bd595 100644
--- a/ui/app/conversion-util.js
+++ b/ui/app/conversion-util.js
@@ -151,7 +151,7 @@ const subtractCurrencies = (a, b, options = {}) => {
bBase,
...conversionOptions
} = options
- const value = (new BigNumber(a, aBase)).minus(b, bBase);
+ const value = (new BigNumber(a, aBase)).minus(b, bBase)
return converter({
value,
@@ -183,7 +183,7 @@ const conversionGreaterThan = (
) => {
const firstValue = converter({ ...firstProps })
const secondValue = converter({ ...secondProps })
-
+
return firstValue.gt(secondValue)
}