aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/network.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r--ui/app/components/network.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 43dc747b3..5fd7424b3 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -13,6 +13,7 @@ function Network () {
Network.prototype.render = function () {
const props = this.props
const networkNumber = props.network
+ const style = props.style
let providerName
try {
providerName = props.provider.type
@@ -46,11 +47,7 @@ Network.prototype.render = function () {
}
return (
- h('#network_component.flex-center.pointer', {
- style: {
- marginRight: '-27px',
- marginLeft: '-3px',
- },
+ h('#network_component.pointer', {
title: hoverText,
onClick: (event) => this.props.onClick(event),
}, [