mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 01:37:26 +00:00
don't return Layout while authenticating
This commit is contained in:
parent
2088624d83
commit
8b23d012eb
@ -103,6 +103,8 @@ class AppContainer extends Component {
|
|||||||
renderBody() {
|
renderBody() {
|
||||||
if (this.shouldRenderLogin()) {
|
if (this.shouldRenderLogin()) {
|
||||||
return <Login credentials={this.props.credentials} authenticate={this.props.authenticate} error={this.props.authenticationError} />;
|
return <Login credentials={this.props.credentials} authenticate={this.props.authenticate} error={this.props.authenticationError} />;
|
||||||
|
} else if (this.props.credentials.authenticating) {
|
||||||
|
return <div></div>;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Layout location={this.props.location}
|
<Layout location={this.props.location}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user