aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2019-04-26 04:54:35 +0800
committerGitHub <noreply@github.com>2019-04-26 04:54:35 +0800
commit13605c2b5ef19c3fcdc5725ed7793024521700ce (patch)
treee921753beb6867bb6cf002648b26537908bceccb /ui
parent429bb5e7aa2e98982c3f24534df44d2127a7683f (diff)
downloadtangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar.gz
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar.bz2
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar.lz
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar.xz
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.tar.zst
tangerine-wallet-browser-13605c2b5ef19c3fcdc5725ed7793024521700ce.zip
Always show private network when RPC is not whitelisted (#6495)
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/app/network.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/components/app/network.js b/ui/app/components/app/network.js
index 783fb36df..9ee0a1e17 100644
--- a/ui/app/components/app/network.js
+++ b/ui/app/components/app/network.js
@@ -41,9 +41,6 @@ Network.prototype.render = function () {
} else if (providerName === 'ropsten') {
hoverText = context.t('ropsten')
iconName = 'ropsten-test-network'
- } else if (parseInt(networkNumber) === 3) {
- hoverText = context.t('ropsten')
- iconName = 'ropsten-test-network'
} else if (providerName === 'kovan') {
hoverText = context.t('kovan')
iconName = 'kovan-test-network'
@@ -63,7 +60,7 @@ Network.prototype.render = function () {
className: classnames({
'network-component--disabled': this.props.disabled,
'ethereum-network': providerName === 'mainnet',
- 'ropsten-test-network': providerName === 'ropsten' || parseInt(networkNumber) === 3,
+ 'ropsten-test-network': providerName === 'ropsten',
'kovan-test-network': providerName === 'kovan',
'rinkeby-test-network': providerName === 'rinkeby',
'goerli-test-network': providerName === 'goerli',