aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/network.js
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2019-04-06 11:53:51 +0800
committerHsuan Lee <boczeratul@gmail.com>2019-04-06 11:53:51 +0800
commit5b0a8131a8fe0401684c7c3c7832140ad2c74b09 (patch)
treeac12229cc5e5de2de8eee414b229eb028c65e857 /ui/app/components/network.js
parent7937c4f8a50f7e6bb1506d3e5a46e3c9c8718c6c (diff)
downloaddexon-wallet-5b0a8131a8fe0401684c7c3c7832140ad2c74b09.tar.gz
dexon-wallet-5b0a8131a8fe0401684c7c3c7832140ad2c74b09.tar.zst
dexon-wallet-5b0a8131a8fe0401684c7c3c7832140ad2c74b09.zip
Update to new theme
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r--ui/app/components/network.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 2c73496a..b255cf71 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -4,7 +4,7 @@ const h = require('react-hyperscript')
const connect = require('react-redux').connect
const classnames = require('classnames')
const inherits = require('util').inherits
-const NetworkDropdownIcon = require('./dropdowns/components/network-dropdown-icon')
+// const NetworkDropdownIcon = require('./dropdowns/components/network-dropdown-icon')
Network.contextTypes = {
t: PropTypes.func,
@@ -78,19 +78,19 @@ Network.prototype.render = function () {
switch (iconName) {
case 'dexon-network':
return h('.network-indicator', [
- h(NetworkDropdownIcon, {
- backgroundColor: '#954A97', // $blue-lagoon
- nonSelectBackgroundColor: '#954A97',
- }),
+ // h(NetworkDropdownIcon, {
+ // backgroundColor: '#954A97', // $blue-lagoon
+ // nonSelectBackgroundColor: '#954A97',
+ // }),
h('.network-name', context.t('mainnet')),
h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
case 'dexon-test-network':
return h('.network-indicator', [
- h(NetworkDropdownIcon, {
- backgroundColor: '#aeaeae', // $crimson
- nonSelectBackgroundColor: '#aeaeae',
- }),
+ // h(NetworkDropdownIcon, {
+ // backgroundColor: '#aeaeae', // $crimson
+ // nonSelectBackgroundColor: '#aeaeae',
+ // }),
h('.network-name', context.t('testnet')),
h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])