aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorbunoi <taobunoi@gmail.com>2018-09-05 00:40:02 +0800
committerbunoi <taobunoi@gmail.com>2018-09-05 00:40:02 +0800
commitf412b192440fe1db9132c703a138082f489ca548 (patch)
treed5f2567f618ab2e1910f89f0f84a2b625e605b11 /ui
parentc824418955bcda67181660873c6101e6a020cc35 (diff)
downloadtangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar.gz
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar.bz2
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar.lz
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar.xz
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.tar.zst
tangerine-wallet-browser-f412b192440fe1db9132c703a138082f489ca548.zip
fix check valid decimals code in new ui
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pages/add-token/add-token.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/pages/add-token/add-token.component.js b/ui/app/components/pages/add-token/add-token.component.js
index 59748ff46..3612e676c 100644
--- a/ui/app/components/pages/add-token/add-token.component.js
+++ b/ui/app/components/pages/add-token/add-token.component.js
@@ -206,7 +206,7 @@ class AddToken extends Component {
const validDecimals = customDecimals !== null &&
customDecimals !== '' &&
customDecimals >= 0 &&
- customDecimals < 36
+ customDecimals <= 36
let customDecimalsError = null
if (!validDecimals) {