Correct token pluralization for one token

feature/default_network_editable
Dan Finlay 7 years ago
parent 6c25f9950b
commit 87c26eb5bc
  1. 4
      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`

Loading…
Cancel
Save