mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-09-11 11:36:03 +03:00
Merge pull request #36 from asantarissy/issue-#29
Bugfix - Redirect HOME onLogout Closes #29
This commit is contained in:
commit
fdc77696d2
@ -368,7 +368,7 @@ class NotificationsPage extends React.Component {
|
|||||||
|
|
||||||
render () {
|
render () {
|
||||||
if (!this.props.authApi.token) {
|
if (!this.props.authApi.token) {
|
||||||
return <Redirect noThrow to={routes.LOGIN} />
|
return <Redirect noThrow to={routes.HOME} />
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
Loading…
Reference in New Issue
Block a user