diff options
Diffstat (limited to 'app/components/Connect.js')
| -rw-r--r-- | app/components/Connect.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js index 27aaedd4ee..14315ccc5f 100644 --- a/app/components/Connect.js +++ b/app/components/Connect.js @@ -7,10 +7,14 @@ export default class Connect extends Component { logout: PropTypes.func.isRequired } + onSettings() { + this.props.router.push('/settings'); + } + render() { return ( <Layout> - <Header /> + <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> |
