diff options
author | Dan <danjm.com@gmail.com> | 2017-11-09 03:18:27 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-11-15 08:18:00 +0800 |
commit | 0a91671ff69957596abbcffb7d20c89f144d7a69 (patch) | |
tree | 63ee87b35d472b7f68cff959527ef0e9ed14f050 /ui/app/components/currency-input.js | |
parent | 34ca7290c593d6fb27faa98a660c8c0bca7e1457 (diff) | |
download | tangerine-wallet-browser-0a91671ff69957596abbcffb7d20c89f144d7a69.tar.gz tangerine-wallet-browser-0a91671ff69957596abbcffb7d20c89f144d7a69.tar.zst tangerine-wallet-browser-0a91671ff69957596abbcffb7d20c89f144d7a69.zip |
Fix lint errors.
Diffstat (limited to 'ui/app/components/currency-input.js')
-rw-r--r-- | ui/app/components/currency-input.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/currency-input.js b/ui/app/components/currency-input.js index 016f14d3e..66880091f 100644 --- a/ui/app/components/currency-input.js +++ b/ui/app/components/currency-input.js @@ -40,7 +40,7 @@ function sanitizeDecimal (val) { // sanitizeValue('.200') -> '0.200' // sanitizeValue('a.b.1.c,89.123') -> '0.189123' function sanitizeValue (value) { - let [integer, point, decimal] = (/([^.]*)([.]?)([^.]*)/).exec(value) + let [ , integer, point, decimal] = (/([^.]*)([.]?)([^.]*)/).exec(value) integer = sanitizeInteger(integer) || '0' decimal = sanitizeDecimal(decimal) |