mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
prefer an empty React Fragment to an empty div
This commit is contained in:
parent
56177346df
commit
d861b0b1af
@ -86,7 +86,7 @@ class AppContainer extends Component {
|
||||
if (this.shouldRenderLogin()) {
|
||||
return <Login credentials={this.props.credentials} authenticate={this.props.authenticate} error={this.props.authenticationError} />;
|
||||
} else if (this.props.credentials.authenticating) {
|
||||
return <div></div>;
|
||||
return <React.Fragment/>;
|
||||
}
|
||||
return (
|
||||
<Layout location={this.props.location}
|
||||
|
Loading…
x
Reference in New Issue
Block a user