signin render return modify
This commit is contained in:
parent
03ba9a1e7b
commit
c07ff8996f
|
@ -98,6 +98,7 @@ export class SignIn extends React.Component<Props, State> {
|
|||
|
||||
if( this.props.isAuthenticated ) {
|
||||
this.props.onRedirectHome();
|
||||
return null;
|
||||
} else {
|
||||
return signinElement;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user