summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-22 19:20:52 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-22 19:20:52 +0000
commit5cbfddab9874c163f7ea697d45eeccb8116ce161 (patch)
tree09097270e9956b6aca2642d9d8b7e82d27831c5a /app/components
parentb357e668d82d9f002d8145c394b72bc593db3582 (diff)
downloadmullvadvpn-5cbfddab9874c163f7ea697d45eeccb8116ce161.tar.xz
mullvadvpn-5cbfddab9874c163f7ea697d45eeccb8116ce161.zip
- Switch tray icon when connected
- Fix ESLint issues
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Connect.js2
-rw-r--r--app/components/CustomScrollbars.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index 4ab942407b..7f3b98c2ff 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -94,7 +94,7 @@ export default class Connect extends Component {
</If>
<div className={ this.networkSecurityClass() }>{ this.networkSecurityMessage() }</div>
- <div className="connect__status-location">{ "City" }<br/>{ serverName }</div>
+ <div className="connect__status-location">{ 'City' }<br/>{ serverName }</div>
<div className="connect__status-ipaddress">{ this.props.connect.clientIp }</div>
</div>
diff --git a/app/components/CustomScrollbars.js b/app/components/CustomScrollbars.js
index 45a22b5d88..2828f14f39 100644
--- a/app/components/CustomScrollbars.js
+++ b/app/components/CustomScrollbars.js
@@ -10,7 +10,7 @@ export default class CustomScrollbars extends Component {
return (
<Scrollbars
{ ...this.props }
- renderThumbVertical={ props => <div className="custom-scrollbars__thumb-vertical"/> }>
+ renderThumbVertical={ () => <div className="custom-scrollbars__thumb-vertical"/> }>
{ this.props.children }
</Scrollbars>
);