diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-17 17:06:21 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-17 17:06:21 +0000 |
| commit | 8d35d8c06e3de2b3cd4be7bdfc28084f176b2bce (patch) | |
| tree | 8925b9c3c7b285a07e14c01ff72d070f1a7088a8 /app/components/Connect.js | |
| parent | 00b82cb3aa904b34d7000854bcecd3b72e012c8e (diff) | |
| download | mullvadvpn-8d35d8c06e3de2b3cd4be7bdfc28084f176b2bce.tar.xz mullvadvpn-8d35d8c06e3de2b3cd4be7bdfc28084f176b2bce.zip | |
- Format account in settings page
- Add links to configuration
- Make links work on Settings page
Diffstat (limited to 'app/components/Connect.js')
| -rw-r--r-- | app/components/Connect.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js index 14315ccc5f..fb86b7509b 100644 --- a/app/components/Connect.js +++ b/app/components/Connect.js @@ -1,12 +1,8 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; import { Layout, Container, Header } from './Layout'; export default class Connect extends Component { - static propTypes = { - logout: PropTypes.func.isRequired - } - onSettings() { this.props.router.push('/settings'); } @@ -17,7 +13,7 @@ export default class Connect extends Component { <Header showSettings={ true } onSettings={ ::this.onSettings } /> <Container> <div className="connect"> - <button style={{ width: '100px', display: 'block', margin: '10px auto' }} onClick={ this.props.logout }>Log out</button> + </div> </Container> </Layout> |
