aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-07-28 09:07:42 +0800
committerDan Finlay <dan@danfinlay.com>2017-07-28 09:07:42 +0800
commit87c26eb5bc30941a85de98f885d4eb9a752cf9d6 (patch)
tree7f84309980dfbaf4898992366fa25c585da1fb8d /ui/app/components
parent6c25f9950b53179ffb34f3baf1f6aa2b5d665720 (diff)
downloadtangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar.gz
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar.bz2
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar.lz
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar.xz
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.tar.zst
tangerine-wallet-browser-87c26eb5bc30941a85de98f885d4eb9a752cf9d6.zip
Correct token pluralization for one token
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/token-list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js
index 79ec3f351..5ea31ae8d 100644
--- a/ui/app/components/token-list.js
+++ b/ui/app/components/token-list.js
@@ -87,7 +87,9 @@ TokenList.prototype.renderTokenStatusBar = function () {
const { tokens } = this.state
let msg
- if (tokens.length > 0) {
+ if (tokens.length === 1) {
+ msg = `You own 1 token`
+ } else if (tokens.length === 1) {
msg = `You own ${tokens.length} tokens`
} else {
msg = `No tokens found`