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