Redirect to the correct url after login

This commit is contained in:
Jori Lallo
2016-10-27 22:37:26 -07:00
parent 2182cfa200
commit dc64682187
4 changed files with 35 additions and 8 deletions

View File

@ -28,6 +28,7 @@ class Layout extends React.Component {
user: React.PropTypes.object.isRequired,
search: React.PropTypes.bool,
offline: React.PropTypes.bool,
notifications: React.PropTypes.node,
}
static defaultProps = {
@ -67,6 +68,8 @@ class Layout extends React.Component {
</Alert>
) }
{ this.props.notifications }
<div className={ cx(styles.header) }>
<div className={ styles.headerLeft }>
<Link to="/" className={ styles.team }>Atlas</Link>