mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
fix: ikonotv redirect to collection if logged in
This commit is contained in:
parent
19f94110b7
commit
2dda22d848
@ -34,7 +34,7 @@ let IkonotvLanding = React.createClass({
|
|||||||
|
|
||||||
getEnterButton() {
|
getEnterButton() {
|
||||||
let redirect = 'login';
|
let redirect = 'login';
|
||||||
console.log(this.state)
|
|
||||||
if(this.state.currentUser && this.state.currentUser.email) {
|
if(this.state.currentUser && this.state.currentUser.email) {
|
||||||
redirect = 'pieces';
|
redirect = 'pieces';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user