registration bug fix and login button style fix
This commit is contained in:
@@ -271,7 +271,7 @@ var Register = React.createClass({
|
||||
var classes = cx({
|
||||
'hide': regSuccess
|
||||
});
|
||||
if (this.state.loginState.loggedIn) {
|
||||
if (!this.state.registration.performed && this.state.loginState.loggedIn) {
|
||||
return (<div>Vi ste već registrovani. Uživajte u kupovini.</div>)
|
||||
}
|
||||
return (<div>
|
||||
|
||||
Reference in New Issue
Block a user