Redirect to the correct url after login
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user